Starbound
Shield Status Effect Fix
8 件のコメント
soff  [作成者] 2021年3月9日 9時15分 
Yeah it shouldn't screw with your save files, Qbi. If you run into any issues with it uninstalling it should be fine.
Qbi Wan 2021年3月9日 1時17分 
It's always nice to know this game it being fixed by community... despise that it's abandoned by devs ;P
Is it safe for save game to uninstall it in future?
soff  [作成者] 2018年11月10日 16時56分 
I'll also be sure to credit you for reminding me of that. Thanks again!
soff  [作成者] 2018年11月10日 16時53分 
Thanks for the advice BK. I've heard of that method of patching Lua files so they aren't overwritten before; Honestly I'm just terrible at it for some reason, and it slipped my mind to use it in this mod... But I can give it a shot when I'm not busy later. Thanks for the advice! I'll be sure to update the mod with the method you speak of soon enough...
bk3000 2018年11月10日 15時38分 
Basically it would be like this. Make a player.config.patch file first.
https://pastebin.com/jqhirkKm

Then make a file in /stats/ called skipper_shieldFix.lua
https://pastebin.com/wpXt4R9u

That's replacing only the applyDamageRequest function while leaving the rest of the player's _ENV intact. It backs it up and runs the old one in the event the damage isn't shield related. After all there are mods that also hook that function.
bk3000 2018年11月10日 15時14分 
The way you did it - replacing player_primary.lua - is gonna break a lot of mods that hook the player scripts. I can help convert this to something that won't break others if you like.
soff  [作成者] 2018年11月10日 11時16分 
Glad to hear, anxietymuppet. If it stops working as intended please let me know :)
anxietymuppet 2018年11月10日 5時58分 
thanks, works perfectly