From 9bab3be5bf2c2ce08d54e292851a8d8e25181a7e Mon Sep 17 00:00:00 2001 From: Kevin Zheng Date: Wed, 5 Jan 2022 13:24:49 -0600 Subject: [PATCH] Make lanterns run out more quickly Start lanterns off with a lot less fuel, so that they run out in about 33 in-game hours. Bright lanterns last half as long, because they burn fuel at twice the rate of regular lanterns. Add a 'maxsp' field to indicate fuel capacity. --- light/lantern.arc | 8 +++++--- light/lantern2.arc | 8 +++++--- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/light/lantern.arc b/light/lantern.arc index e85d1a9a4..df8761446 100644 --- a/light/lantern.arc +++ b/light/lantern.arc @@ -5,7 +5,8 @@ other_arch lantern_1 material 2 value 5000 weight 1500 -food 10000 +food 1000 +maxsp 1000 type 82 nrof 1 glow_radius 0 @@ -18,12 +19,13 @@ name lantern face lantern.111 other_arch lantern_unlit material 2 -food 10000 +food 1000 +maxsp 1000 changing 1 value 0 type 82 weight 1500 -speed 0.01 +speed 0.02 glow_radius 5 is_lightable 1 name_pl lanterns diff --git a/light/lantern2.arc b/light/lantern2.arc index 5a61171af..498b751b2 100644 --- a/light/lantern2.arc +++ b/light/lantern2.arc @@ -5,7 +5,8 @@ other_arch lantern2_1 material 2 value 15000 weight 2500 -food 10000 +food 1000 +maxsp 1000 type 82 nrof 1 glow_radius 0 @@ -18,12 +19,13 @@ name bright lantern face lantern2.111 other_arch lantern2_unlit material 2 -food 10000 +food 1000 +maxsp 1000 changing 1 value 0 type 82 weight 2500 -speed 0.02 +speed 0.04 glow_radius 8 is_lightable 1 name_pl lanterns