Maikel de Vries
23accab0de
producer does not depend on partial fuel amounts
2015-03-28 08:35:47 +01:00
Maikel de Vries
7c08270ff4
make power need call susceptible to proplist function change
2015-03-09 18:40:45 +01:00
Maikel de Vries
94019dd335
callback for projuct ejection in producer library
2015-02-22 19:03:30 +01:00
Maikel de Vries
13a72c65f0
improved power system callbacks
2015-02-04 10:35:16 +01:00
Maikel de Vries
c0ff94eb75
normalize power values to multiples of ten
...
This makes it easier for internal calculations and that value of 10 now represents a single light bulb. It is advisable to only use multiples of 10 for production and consumption values.
2015-02-04 10:35:15 +01:00
Maikel de Vries
febf1234a9
always register power need in producer library even if zero
2015-02-04 10:35:15 +01:00
Maikel de Vries
2d00588dff
new power system (work in progress)
2015-02-04 10:35:14 +01:00
Mark
850bf1b9d4
CreateObject/CreateObjectAbove ( #1214 )
...
Renamed CreateObject() to CreateObjectAbove() and replaced all occurrences in script files.
Added CreateObject(), the function may need a rewrite though, see comment in code.
Updated documentation
2015-01-11 19:02:03 +01:00
Maikel de Vries
2d1647ea77
improved prioritizing of power consumers
2014-12-19 21:47:08 +01:00
Maikel de Vries
dd239b97a5
fix c4script error when producer creates object that deletes itself
2014-10-28 18:01:12 +01:00
Clonkonaut
0de885a0f7
New feat: Use snow or ice to create loam in the foundry.
...
Two callbacks added:
IsLiquid - return a string with the material that this object consists of.
GetLiquidAmount - return how many material pixels this object is worth.
2014-04-29 00:25:06 +02:00
Sven Eberhardt
2f37347b09
Auto-unstick produced vehicles from landscape by moving them upwards a bit.
...
Thanks to Ann for reporting this!
2013-10-05 16:11:03 +02:00
Sven Eberhardt
829e83dcdb
Production menu shows missing components/liquids/materials/fuel in red
2012-12-17 14:32:48 +01:00
Nicolas Hake
2e71694710
Producers: consume required material ( #885 )
...
Instead of just checking whether the material is available, also
consume it.
I'm not quite certain whether we should return the removed material
along with the amount removed (to match the return value of the barrel's
GetLiquid), but since the bucket is not currently accepting wildcards
I don't think it's necessary.
2012-12-17 02:11:15 +01:00
Maikel de Vries
d2a327fef6
Fixed production menus: show knowledge of accessor ( #850 )
2012-10-30 21:15:51 +01:00
Maikel de Vries
2710585eed
String table for the producer library
2012-05-13 15:18:21 +02:00
Felix Wagner
2b83fc9ec9
Produce loam by using the bucket. Use 25 pixels of earth.
2012-05-11 15:07:03 +01:00
Bernhard Bonigl
4c38caaf27
Merged default into Controls
2012-04-17 17:37:52 +02:00
David Dormagen
6517b230e6
added NoPowerNeed rule, made requesting 0 power possible
2012-04-15 17:02:47 +02:00
Bernhard Bonigl
9236cde273
Fixed faulty productio-time in Producer-Library
2012-04-15 15:11:18 +02:00
Maikel de Vries
d6f2a8bd1b
Fixed fuel consumption of producers
...
The fuel amount of the fuels are reset to the original and correct values, adapted the steamengine a little for that.
2012-03-10 17:33:57 +01:00
Maikel de Vries
9543c10cad
Sawmill is not be accessible as a container.
...
If one takes wood from the sawmill during production this triggers the infinite sawing loop.
2012-03-04 17:12:39 +01:00
David Dormagen
5cbaa697f0
changed power system to transfer power freely in a base and get rid of power lines
...
power now is either available or not - there is no "produce X power and save it somewhere" anymore
2012-02-18 22:50:18 +01:00
Felix Wagner
a059f0f64a
DisregardsKnowledge -> IgnoreKnowledge, NeedsRawMaterial -> NeedRawMaterial
2012-01-19 22:31:05 +00:00
Felix Wagner
f76a41da66
Producer will by default only display those products in the owner's knowledge
...
(everything if NO_OWNER)
2012-01-16 23:32:19 +00:00
Maikel de Vries
a675400f8a
Loam can be produced at the foundry with water
...
still need to display water needs
2012-01-12 19:23:35 +01:00
Maikel de Vries
356d6ae5b3
Fixed collection of componenents of products for producers
2012-01-08 19:43:28 +01:00
Maikel de Vries
b622ea4834
Implemented drag and drop for production menu
...
Only partially, and also rightclick to show resource need (graphics needed)
2012-01-05 23:36:41 +01:00
Maikel de Vries
17bf15adb1
Fixed opening and closing of menus
...
Also reduced the amount of local variables in ClonkControl.ocd, which makes sense at this location, cause additional menus my implemented similar to the production menu.
2012-01-02 00:00:13 +01:00
Maikel de Vries
16c50a07a0
Mining now has a larger tolerance for single pixels when mining large amounts
...
Also removed some dead code and tuned Iron Peak a little
2011-12-31 16:25:23 +01:00
Maikel de Vries
ba8b011b8c
Production queue gets rid off redundancies automatically
2011-12-31 15:00:05 +01:00
Maikel de Vries
a9a317d5c1
Production menus are now updated if the production queue gets an "outside" change
2011-12-30 20:32:13 +01:00
Maikel de Vries
df4f81b41c
Vehicles are placed outside producers normally
2011-12-30 17:16:09 +01:00
Maikel de Vries
e1da36219f
New implementation for the production menu, similar to contents menu
2011-12-29 16:59:07 +01:00
Armin Burgmeier
e11ac0c937
By default, put produced items into the producer after production
2011-12-29 20:35:14 +01:00
Maikel de Vries
7371d37325
Content menu opens now for "IsContainer"
2011-12-08 23:26:18 +01:00
Maikel de Vries
527845f32e
Objects: Production library now takes into account power
2011-10-11 14:20:25 +02:00
Maikel de Vries
e89caa464a
Objects: Moved actual production into producer library
...
Energy handling is still to be done + some other stuff as well
2011-10-09 14:13:55 +02:00
Maikel de Vries
4adf230b94
Objects: Made production library work again
2011-10-07 17:38:34 +02:00
Maikel de Vries
1ce2c16c36
Objects: Enhanced Producer library and adapted tool workshop
2011-04-07 16:02:35 +02:00
Maikel de Vries
ad15a6ed4f
Objects: Library for object production
...
Adapted foundry to library, should ultimately interact with cable network.
2011-04-02 18:17:24 +02:00