Help with some code
- GamingAssociation39
- Member
- Posts: 858
- Joined: Mon Apr 25, 2016 16:09
- GitHub: Gerold55
- IRC: Gerold55
- In-game: Gerold55
- Location: Maryland, USA
Help with some code
So I'm trying to figure out how to make the arrow (item_percent) to work with my node. The node doesn't have any fuel. It's written in a way that it's similar but very different than the furnace can anyone help?
Last edited by GamingAssociation39 on Fri Jun 22, 2018 14:10, edited 2 times in total.
Jesus Is Lord and Savior!!!
- Pyrollo
- Developer
- Posts: 385
- Joined: Mon Jan 08, 2018 15:14
- GitHub: pyrollo
- In-game: Naj
- Location: Paris
Re: Modding Help!!!
Why don't you have a look to furnace code ?
[ Display Modpack ] - [ Digiterms ] - [ Crater MG ] - [ LATE ]
- Pyrollo
- Developer
- Posts: 385
- Joined: Mon Jan 08, 2018 15:14
- GitHub: pyrollo
- In-game: Naj
- Location: Paris
Re: Modding Help!!!
Please, put a more explicit title. In "Modding discussion" most of the topics are for asking "modding help".
(I feel like, I woke up in bad mood today :D )
(I feel like, I woke up in bad mood today :D )
[ Display Modpack ] - [ Digiterms ] - [ Crater MG ] - [ LATE ]
- GamingAssociation39
- Member
- Posts: 858
- Joined: Mon Apr 25, 2016 16:09
- GitHub: Gerold55
- IRC: Gerold55
- In-game: Gerold55
- Location: Maryland, USA
Re: Modding Help!!! (Help Wanted)
Code: Select all
--Adding arrow animation
local function item_percent (pos, elapsed)
local cookable = microwave.register_recipe
if cookable then
item_percent = math.floor(src_time / cooked.time * 100)
if item_percent > 100 then
item_state = "100% (output full)"
else
item_state = item_percent .. "%"
end
end
Jesus Is Lord and Savior!!!
- GamingAssociation39
- Member
- Posts: 858
- Joined: Mon Apr 25, 2016 16:09
- GitHub: Gerold55
- IRC: Gerold55
- In-game: Gerold55
- Location: Maryland, USA
- GamingAssociation39
- Member
- Posts: 858
- Joined: Mon Apr 25, 2016 16:09
- GitHub: Gerold55
- IRC: Gerold55
- In-game: Gerold55
- Location: Maryland, USA
Re: Help with some code
I'm now needing help with some code regarding a mod loading some files and images using Github how would I do so?
Jesus Is Lord and Savior!!!
Who is online
Users browsing this forum: No registered users and 14 guests