Game Dev Studio

Game Dev Studio

Poisonous Water Cooler
6 条留言
霧之湖自殺日記 2023 年 3 月 27 日 上午 11:22 
Angelic Burrito,
poisonous_water_cooler.lua
On Line2:
objectCategories:registerNew({
id = "poison",
icon = "tab_poison",
iconActive = "tab_poison",
display = _T("OBJECT_CATEGORY_POISON", "Poison") -- the _T call is a shortcut to translation.get
})
its works for me
Angelic Burrito 2020 年 1 月 13 日 下午 8:50 
Forgot to say: tried on both an already-existing save and a new one (both of the "Introduction" scenario); the only other mod is "Real Manufacturer's and Platforms"
Angelic Burrito 2020 年 1 月 13 日 下午 8:48 
Hey, I know this is an example mod so maybe it doesn't really matter but I'm getting a crash on mouse-over of the poison icon of the new object category tab.
Here's the traceback:
75249:1912: attempt to index local 'struct' (a nil value)

75249:1912: in function 'allocateSprite'
5841:197: in function 'updateSprites'
75249:2232: in function '_updateSprites'
75249:354: in function 'drawPanels'
75249:247: in function '_performDrawing'
75249:214: in function 'performDrawing'
3963:57: in function 'draw'
321:14: in function 'draw'
4254:141: in function 'draw'
[C]: in function 'xpcall'
Lord carrot 2019 年 9 月 26 日 下午 5:03 
10/10 would give to my entire family
phantom 2018 年 11 月 26 日 上午 2:56 
lmao. damn funny idea
hai 2018 年 9 月 18 日 下午 1:25 
These example mods are funny