klopfer commited on
Commit
2fd6995
·
verified ·
1 Parent(s): a1b2ceb

Upload cubzh.lua

Browse files
Files changed (1) hide show
  1. cubzh.lua +5 -5
cubzh.lua CHANGED
@@ -155,7 +155,7 @@ local skills = {
155
  end)
156
  end,
157
  action_format_str = "{protagonist_name} exploded like a firecracker, with a bang!",
158
- },--[[
159
  {
160
  name = "GIVEAPPLE",
161
  description = "Give a pice of bread (or a baguette) to someone",
@@ -170,7 +170,7 @@ local skills = {
170
  dialog:create("Here is an apple for you!", npc.avatar.Head)
171
  end,
172
  action_format_str = "{protagonist_name} gave you a piece of bread!"
173
- }, --]]
174
  {
175
  name = "GIANT",
176
  description = "Double your height to become a giant for a few seconds.",
@@ -275,7 +275,7 @@ local NPCs = {
275
  },
276
  },
277
  {
278
- name = "npcpirate",
279
  gameName = "Physicist",
280
  physicalDescription = "Average height, with bright green eyes and a warm smile",
281
  psychologicalProfile = "Friendly and helpful, he is very smart and is an excellent teacher",
@@ -317,7 +317,7 @@ Client.OnWorldObjectLoad = function(obj)
317
  local npcIndexByName = {
318
  NPC_scientist = 1,
319
  NPC_baker = 2,
320
- NPC_pirate = 3,
321
  }
322
 
323
  local index = npcIndexByName[obj.Name]
@@ -454,7 +454,7 @@ onboardingConfig = {
454
  {
455
  start = function(onboarding)
456
  local data = {}
457
- data.ui = onboarding:createTextStep("3/3 - Press Enter in front of the Pirate to chat.")
458
  Timer(10, function()
459
  onboarding:next()
460
  end)
 
155
  end)
156
  end,
157
  action_format_str = "{protagonist_name} exploded like a firecracker, with a bang!",
158
+ },
159
  {
160
  name = "GIVEAPPLE",
161
  description = "Give a pice of bread (or a baguette) to someone",
 
170
  dialog:create("Here is an apple for you!", npc.avatar.Head)
171
  end,
172
  action_format_str = "{protagonist_name} gave you a piece of bread!"
173
+ },
174
  {
175
  name = "GIANT",
176
  description = "Double your height to become a giant for a few seconds.",
 
275
  },
276
  },
277
  {
278
+ name = "npcphysicist",
279
  gameName = "Physicist",
280
  physicalDescription = "Average height, with bright green eyes and a warm smile",
281
  psychologicalProfile = "Friendly and helpful, he is very smart and is an excellent teacher",
 
317
  local npcIndexByName = {
318
  NPC_scientist = 1,
319
  NPC_baker = 2,
320
+ NPC_physicist = 3,
321
  }
322
 
323
  local index = npcIndexByName[obj.Name]
 
454
  {
455
  start = function(onboarding)
456
  local data = {}
457
+ data.ui = onboarding:createTextStep("3/3 - Press Enter in front of the Physicist to chat.")
458
  Timer(10, function()
459
  onboarding:next()
460
  end)