Mods / A Wearable Light

Category: #Cosmetics #Crafting #Simplification
Author: misterandydandy
Side: Both
Created: Feb 13th at 2:06 AM
Last modified: Mar 18th at 12:24 PM
Downloads: 991
Follow Unfollow 24

Latest file:
AWearableLight_v1.18.0-v1.0.4.zip


Just Short Info For Now


For 1.0.4 of my mod you will need - CommonLib - Vintage Story Mod DB the last version because I am using it for configs. big thanks to DArkHekRoMaNT for the amazing CommonLib 😎


A Wearable Light to equip to the player.

Item types at the moment -
Head-TorchHead-OilLamp, Head-Candle1, Head-Candle2.
Waist-Heavy-Belt-Brass-Lantern, Backpack.

 

Available Slot?

Head.

Waist.

Backpack.

More to come?

Feature : Togglable Light

Players can (Ctrl + Right Click) to turn on and off the light at will.

Config.



"DisableItem": False,
"Comment": "Removing items from game",

"DisableRecipes": False,
"Comment": "Removing items recipes from game",


"DisableSound": False,
"Comment": "On/Off sounds for items when being turn on and off.",


"RmoveTradable": False,
"Comment": "Rmove tradable items from traders",

 

waiting on the mod to be updated

"TemporalTinkerer": False
"Comment": "Set it to true if you want to it enable",
 

Version For Game version Downloads Release date Changelog Download
v1.0.4 198 Mar 18th at 12:24 PM Show AWearableLight_v1.18.0-v1.0.4.zip
v1.0.3 348 Feb 22nd at 5:35 PM Show AWearableLight.zip
v1.0.2 197 Feb 21st at 10:52 PM Show AwearableLight.zip
v1.0.1 107 Feb 17th at 1:07 AM Show AWearableLight.zip
v1.0.0 141 Feb 13th at 2:08 AM Show AWearableLight.zip

11 Comments (oldest first | newest first)

💬 misterandydandy, Mar 18th at 12:44 PM

I'll do it tonight Craluminum Thanks for letting me know 😁

💬 Craluminum, Mar 18th at 12:29 PM

Could you turn ItemBags class into collectible behavior, please?

💬 misterandydandy, Mar 2nd at 10:58 PM

Edel_Recke I never had a issue with it? can you post logs

💬 Edel_Recke, Mar 1st at 7:47 AM

If i use this mod (besides some others; can post all if needed), the RAM usage get#s very high and VS crashes after 20-30 seconds

 

💬 misterandydandy, Feb 24th at 9:51 PM

Frepo t's because you decompile it.

It should be MethodType.Getter where the 1 is.

💬 misterandydandy, Feb 24th at 6:49 PM

If you could message me on discord instead because my phone doesn't like this website lol 🤣 Mister_Andy_Dandy#4403

💬 Frepo, Feb 24th at 5:37 PM

Heeey! This is great! A head lamp is just what I've been wanting for this game. I stole your code into a project of my own to start learning harmony (coz your mod seems small and easy to start with).
I got an error right away after copying over the code from the EntityPlayer_LightHsv_Patched class. my compiler doesn't recognize the second line "[HarmonyPatch("LightHsv", 1)]", (cannot convert from 'int' to 'System.Type[]').

It doesn't seem to want the "1" value there. I was wondering what version of harmony you've referenced? Or rather which 0Harmony.dll file (I see we both are using version 2.2.2.0).

💬 misterandydandy, Feb 17th at 1:13 AM

I am planning on adding more to it Smile

💬 Smile, Feb 14th at 9:14 PM

Can I suggest a waist-slot lantern accessory that works similarly?

There can also be potential for a light-up necklace that is quite costly as and end-game option.

Keen to see what else is added to maybe add this to our community server

💬 misterandydandy, Feb 13th at 8:51 AM

RayoRey
it should if you are using one of them and to turn on Ctrl + Right Click.

💬 RayoRey, Feb 13th at 5:43 AM

How does it turn on? does not produce light

(edit comment delete)