Page 1 of 1

Allow more then 1 output from modified compressor mod code

PostPosted: Wed Dec 14, 2016 03:47
by Christian9
Azekill_diablo allowed me to use a modified version of his compressor mod code in my mod and I'm trying to make it so it can make more then 1 kind of item, I've tried lots of different things but it still doesn't work. I've came to this now

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
   local sand_count = inv:get_stack('dst', 1):get_count()
   inv:set_stack('dst', 1, 'dino_trex:egg_1' )
        or
   inv:set_stack('dst', 1, 'dino_trex:egg_2' )
end


If anyone can help that would be awesome

Thanks in advance