How does a burner inserter work? Energy wise..

Place to get help with not working mods / modding interface.
Post Reply
akipfer
Manual Inserter
Manual Inserter
Posts: 4
Joined: Sat May 05, 2018 4:02 am
Contact:

How does a burner inserter work? Energy wise..

Post by akipfer »

I'm making a mod, the way i'm building it, it uses a vehicle type of entity, however, i don't want to actually put itens on it so it stop flashing....when i place it, script does that for me...no one needs to know it's a car type of thing....pssss

so when i pick it up i'm trying to delete that 'coal' that i put it with in the script....
since i can't figure the hell out how to delete that when mining...i'm was thinking of doing like the burner inserter does, it has some 'pre starting energy' cause it starts without nothing.....

either
1) i figure out how to destroy the 'coal' when i mining

script.on_event(defines.events.on_player_mined_entity, function(event)
--event.buffer.remove({name="coal", amount=1})


end
)

i'm not sure how to do it...


or 2) do like the burner inserter, a code do insert a small, yet enough so fuel doesn't flash, also no need to insert coal...

or 3)

some how make the 'vehicle' type of entydi burn the fuel, even without moving..
ONLY when i'm inside...witch is also i nightmare for myself hahaha

any ideas?

Nevermind, i just foud out a way around it!

Post Reply

Return to “Modding help”