Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

I decompiled the code and found that it's correctly set for the collectable item, but not the active runner.

I did a sort then copied the missing lines over, and this seems to have solved that problem.

draw_self()
switch ore {
     case 130:
         spr = s_ore_icon_iron
         break
     case 500:
         var spr = s_ore_icon_coal
         break
     case 711:
         spr = s_ore_icon_tin
         break
     case 748:
         spr = s_ore_icon_titanium
         break
     case 803:
         spr = s_ore_icon_tungsten
         break
     case 980:
         spr = s_ore_icon_copper
         break
     case 1007:
         spr = s_ore_icon_gold
         break
 // meow - begin patch
     case 255:
         spr = s_ore_icon_lead
         break
     case 277:
         spr = s_ore_icon_lithium
         break
     case 376:
         spr = s_ore_icon_silicon
         break
     case 490:
         spr = s_ore_icon_silver
         break
     case 740:
         spr = s_ore_icon_nickel
         break
     case 750:
         spr = s_ore_icon_zinc
         break
     case 849:
         spr = s_ore_icon_sulfer
         break
     case 1196:
         spr = s_ore_icon_aluminium
         break
     default:
         instance_destroy()
 // meow - end 
}
draw_sprite(spr, 0, x, y)

Also, the ..._pocket_furnace_... code didn't decompile nicely for me, so I was unable/unwilling to determine if it was the patching/modding tool, or an existing problem that was causing crashes when I saturated my drill with portable furnaces.

___________________________________________
############################################################################################
ERROR in
action number 1
of  Step Event0
for object o_drill:
DoSub :2: undefined value
at gml_Script_anon_DrillPart_pocket_furnace_gml_GlobalScript_drill_misc_data_2413_DrillPart_pocket_furnace_gml_GlobalScript_drill_misc_data
############################################################################################
gml_Script_anon_DrillPart_pocket_furnace_gml_GlobalScript_drill_misc_data_2413_DrillPart_pocket_furnace_gml_GlobalScript_drill_misc_data (line -1)
gml_Script_anon_DrillPart_gml_GlobalScript_drill_part_data_8236_DrillPart_gml_GlobalScript_drill_part_data
gml_Object_o_drill_Step_0

I hope this helps.