Skip to content

Rework mining lantern hooks to not be shit

Rob Nelson requested to merge pull/7472/Fix into Bleeding-Edge

Created by: dylanstrategie

Includes the following changes :

  • Lantern hooks now actually have a lantern var to hold the lantern they're carrying
  • Lantern hooks are now a single entity instead of two
  • Added lantern hook without lantern and lit lantern item variants
  • The lantern's projected light is now dependent on what light the lantern you put in has
  • Added proper update_luminosity() and update_icon() procs
  • Added a sprite for lit lanterns (basically has a small light spot)
  • Added an examine proc
  • Flickering should now work properly, and be 100 % foolproof if the lantern is fucked with before it's done
  • Added a verb to toggle the lantern when it's attached to the lantern hook, so you don't have to take it off to do so

100 % technical PR, should be up for merge immediately unless there's code issues

Merge request reports