Jump to content

Self-made MOD caused freezing damage when passing by a _Shadow Manipulator_


Recommended Posts

I have used lua for several years, but this is my first DST mod. I tried to make some slurper_pelt through _Shadow Manipulator_, so I add lines below in modmain.lua:

STRINGS = GLOBAL.STRINGS
RECIPETABS = GLOBAL.RECIPETABS
Recipe = AddRecipe
Ingredient = GLOBAL.Ingredient
TECH = GLOBAL.TECH


AddRecipe("slurper_pelt", {Ingredient("tentaclespots", 5),Ingredient("nightmarefuel", 1),Ingredient("goldnugget",2)}, RECIPETABS.MAGIC, TECH.MAGIC_TWO ,nil,nil,nil,1)

This MOD doesn't work at all. When I stand near by my shadow manipulator, I can see the option to build slurper_pelt, but that option is still locked.

But the problem is: even after removing this self_made mod, I get freezing damage beside shadow manipulator. To make matter worse, my HP shows incorrectly. My HP is shown as 100 despite the fact that I heal myself or get hit. However, my friend(he is the server while I am the client) doesn't have these issues. Does any friend know what I should do? Thanks.

 

Edited by moe_pikachu
Add more information
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
  • Create New...