Dropping lit Lantern, lightsource stays with player [RESOLVED]

Locked
User avatar
Midknightprince
Posts: 1324
Joined: Fri Aug 11, 2017 6:51 am
Location: San Antonio TX
Contact:

Dropping lit Lantern, lightsource stays with player [RESOLVED]

Post by Midknightprince »

Playing on GitHub version I got the 24th.
To reproduce: (I only tried Lanterns so far), just equip a lantern with fuel, light it, put it on the ground, walk away, and the light source stays with the player.

I hope I have enough info here, if you need a save let me know or the output or whatever, I'm thinking since they just got turned on its still a WIP, so who knows.

I am getting some crazy ideas about doing this so maybe I'm jumping the gun, but heck it would be cool...
Check out my YouTube Channel!

User avatar
Hazelnut
Posts: 3016
Joined: Sat Aug 26, 2017 2:46 pm
Contact:

Re: Dropping lit Lantern, lightsource stays with player.

Post by Hazelnut »

Well I thought I had finished it, but I definitely don't handle that at all. :oops: I'll change it so that you extinguish any light sources you drop.

Thanks MP.
See my mod code for examples of how to change various aspects of DFU: https://github.com/ajrb/dfunity-mods

User avatar
Midknightprince
Posts: 1324
Joined: Fri Aug 11, 2017 6:51 am
Location: San Antonio TX
Contact:

Re: Dropping lit Lantern, lightsource stays with player.

Post by Midknightprince »

Hazelnut wrote: Thu Nov 29, 2018 4:41 pm Well I thought I had finished it, but I definitely don't handle that at all. :oops: I'll change it so that you extinguish any light sources you drop.

Thanks MP.
Heck man, I'm happy, lanterns "work" now, that's like, I don't even know what that's like...
You need a fruit bascket !
Check out my YouTube Channel!

User avatar
Hazelnut
Posts: 3016
Joined: Sat Aug 26, 2017 2:46 pm
Contact:

Re: Dropping lit Lantern, lightsource stays with player.

Post by Hazelnut »

How about a beer if you're ever in East Anglia? :D
See my mod code for examples of how to change various aspects of DFU: https://github.com/ajrb/dfunity-mods

User avatar
Midknightprince
Posts: 1324
Joined: Fri Aug 11, 2017 6:51 am
Location: San Antonio TX
Contact:

Re: Dropping lit Lantern, lightsource stays with player.

Post by Midknightprince »

Hazelnut wrote: Thu Nov 29, 2018 10:55 pm How about a beer if you're ever in East Anglia? :D
Beer, mead, you got it ! 😁
Check out my YouTube Channel!

User avatar
Arctus
Posts: 60
Joined: Mon Mar 23, 2015 12:28 am

Re: Dropping lit Lantern, lightsource stays with player.

Post by Arctus »

Hazelnut wrote: Thu Nov 29, 2018 10:55 pm How about a beer if you're ever in East Anglia? :D
I'm going to be honest, I only know where that is from watching The Last Kingdom :lol:

User avatar
Hazelnut
Posts: 3016
Joined: Sat Aug 26, 2017 2:46 pm
Contact:

Re: Dropping lit Lantern, lightsource stays with player.

Post by Hazelnut »

PR with fix submitted. Let me know if you find anything else.
See my mod code for examples of how to change various aspects of DFU: https://github.com/ajrb/dfunity-mods

Locked