Jump to content

I made it into a customized character.


Recommended Posts

16 hours ago, purema1 said:

Thank you so much.
By the way, can you tell me the code for making items exclusively for survivor mode?

Spoiler

TheNet = GLOBAL.TheNet
local Recipe = GLOBAL.Recipe
local TECH = GLOBAL.TECH
local Ingredient = GLOBAL.Ingredient

function IsSurvivorsMode()
    return TheNet:GetServerGameMode() == "survival"
end


 if IsSurvivorsMode() then
AddCharacterRecipe("rocks",
{ Ingredient("petals", 2)},
TECH.NONE,
{ builder_tag = "yourtaghere"},
{ "CHARACTER" }

)
end

I'm really not sure this will work

 

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...