Search found 71 matches
- Mon Dec 22, 2014 10:05 am
- Forum: Mods
- Topic: [MOD 0.11.X] AlphaMod - Advanced Fluid Handling
- Replies: 62
- Views: 46481
Re: [MOD 0.11.X] AlphaMod
How does the smart tank work, only thing i see in the configurantion screen for isnerters/pupms is some meta items that don't change with the tank/liquid stored in it. Smart tank have "smart-container" part that is wire connectable and has inside meta-items for Ammount of liquid in liters...
- Sun Dec 21, 2014 8:48 pm
- Forum: Mods
- Topic: [MOD 0.11.X] AlphaMod - Advanced Fluid Handling
- Replies: 62
- Views: 46481
Re: [MOD 0.11.x] AlphaMod
Released two new versions with liquid disposal and electric boiler
- Sun Dec 21, 2014 4:31 pm
- Forum: Modding help
- Topic: Energy satisfaction
- Replies: 2
- Views: 1018
Re: Energy satisfaction
thanks i will try that
- Sun Dec 21, 2014 3:56 pm
- Forum: Modding help
- Topic: Energy satisfaction
- Replies: 2
- Views: 1018
Energy satisfaction
Hi, me again. Is there any way how to get energy satisfaction of entity in script?
For example if my small pump needs 100kW to work but my electrict network is bad and i can provide only 10kW, can i get somehow this information so i would slow down stuff i am doing in script?
For example if my small pump needs 100kW to work but my electrict network is bad and i can provide only 10kW, can i get somehow this information so i would slow down stuff i am doing in script?
- Sun Dec 21, 2014 10:34 am
- Forum: Mods
- Topic: [MOD 0.11.X] AlphaMod - Advanced Fluid Handling
- Replies: 62
- Views: 46481
Re: [MOD 0.11.X] AlphaMod
I dont use DyTech so maybe i got you wrong, but you wanna for me to add DyTech pipes type, that will not change shape acording to others? If i got it right, i have to say no, because I dont know licence stuff about DyTech. And this would be just copy paste of my pipe prototypes with change of fluid_...
- Sat Dec 20, 2014 4:47 pm
- Forum: Won't implement
- Topic: [Reques] entity.prototype return specific prorotype
- Replies: 3
- Views: 5039
[Reques] entity.prototype return specific prorotype
Hi I would like to request feature, that entity.prototype will not return LuaEntityPrototpe in all cases, but if i have for example type storage-tank, that it will return LuaEntityPipeConnectablePrototype so we will be able access and get info from specific variables, in this example from fluid_box....
- Sat Dec 20, 2014 4:35 pm
- Forum: Mods
- Topic: [MOD 0.11.X] AlphaMod - Advanced Fluid Handling
- Replies: 62
- Views: 46481
Re: [MOD 0.11.6] AlphaMod
Updated to version 0.0.4 with Smart Pump
- Fri Dec 19, 2014 6:10 pm
- Forum: Modding help
- Topic: Storage tank max size info
- Replies: 23
- Views: 5045
Re: Storage tank max size info
oh, this is super cool, but damn i just commited changes nvm
- Fri Dec 19, 2014 5:43 pm
- Forum: Modding help
- Topic: Storage tank max size info
- Replies: 23
- Views: 5045
Re: Storage tank max size info
Oh, ok thx
- Fri Dec 19, 2014 5:25 pm
- Forum: Modding help
- Topic: Storage tank max size info
- Replies: 23
- Views: 5045
Re: Storage tank max size info
Ok last question (i hope) when making meta-items, can i use some group that will not be visible when seting conditions from smart-inserters ?
- Fri Dec 19, 2014 4:57 pm
- Forum: Modding help
- Topic: Storage tank max size info
- Replies: 23
- Views: 5045
Re: Storage tank max size info
Oh, if dependenci have ? before name it mean i dont have to have it, but if i have it will load it before my?
Thank you guys, a learned a lot and fixed more problems than only the one mention at first post :]
Thank you guys, a learned a lot and fixed more problems than only the one mention at first post :]
- Fri Dec 19, 2014 4:43 pm
- Forum: Modding help
- Topic: Storage tank max size info
- Replies: 23
- Views: 5045
Re: Storage tank max size info
Thanks,
i will use it, but i guess it will not work with others mod like i hoped. When my mod will be loaded before another, i will have no other oprion then use magic number because meta-item will not exist
i will use it, but i guess it will not work with others mod like i hoped. When my mod will be loaded before another, i will have no other oprion then use magic number because meta-item will not exist
- Fri Dec 19, 2014 4:24 pm
- Forum: Modding help
- Topic: Storage tank max size info
- Replies: 23
- Views: 5045
Re: Storage tank max size info
Oh cool, thanks.
One question I have to use this in data.lua? Or can i use it in control.lua because i though that data is not modifiable in scripts?
One question I have to use this in data.lua? Or can i use it in control.lua because i though that data is not modifiable in scripts?
- Fri Dec 19, 2014 3:12 pm
- Forum: Mods
- Topic: [MOD 0.11.X] AlphaMod - Advanced Fluid Handling
- Replies: 62
- Views: 46481
Re: [MOD 0.11.6] AlphaMod
I wanna electric boiler
Examples of use
Examples of use
- Clean Energy - with solar panels power I will heat and store water, that i will use as source for steam engines backup
- If you will ever need to heat liquid for processing, burner boiler isn't best solution
- Fri Dec 19, 2014 1:53 pm
- Forum: Modding help
- Topic: Storage tank max size info
- Replies: 23
- Views: 5045
Re: Storage tank max size info
Hmm thanks, about that workaround, you mean like, when prototypes are loaded i will save their base_area for example like myTable[prototype.name] = prototype.liquid_box.base_area (with all necessary checks of course), but where can i do it? Do you have any example or link where is mentioned how to d...
- Fri Dec 19, 2014 12:46 pm
- Forum: Mods
- Topic: [MOD 0.11.X] AlphaMod - Advanced Fluid Handling
- Replies: 62
- Views: 46481
Re: [MOD 0.11.6] AlphaMod
Added new version with Output and Smart Storage tank. Also include fast replace feature for storage tanks
- Fri Dec 19, 2014 12:23 pm
- Forum: Modding help
- Topic: Storage tank max size info
- Replies: 23
- Views: 5045
Re: Storage tank max size info
I need exactly what L0771 said entity.prototype.fluid_box.base_area, but problem is that entity.prototype give me Prototype/Entity and that dont have fluid_box so i would need to recast it somehow to Prototype/PipeConnectable that have fluid box so i can reach it. Thats what i think is the problem.
- Thu Dec 18, 2014 1:05 pm
- Forum: Modding help
- Topic: Storage tank max size info
- Replies: 23
- Views: 5045
Storage tank max size info
Hi, i was trying to reach Storage tank max size (fluid_box.base_area) from code but without success. I know that i can get to prorotype of entity, but it seem that i need to cast it somehow to specific entityType to be able reach fluid_box. Am i right and is it possible in lua? Or am i doing it wron...
- Sun Dec 14, 2014 10:46 pm
- Forum: Mods
- Topic: [MOD 0.11.X] AlphaMod - Advanced Fluid Handling
- Replies: 62
- Views: 46481
Re: [MOD 0.11.5+] AlphaMod
Updated to new version, where is added I/O pipe
- Sun Dec 14, 2014 10:43 pm
- Forum: Modding help
- Topic: Enegry requierement and info layer
- Replies: 11
- Views: 3767