About This File
Alternate Living Spaces is code that allows you to easily create a place to stay that isn't stepdad's house. This code will already have a live demonstration at the various Wharf hotels, with more Wharf living spaces to follow.
Attention Modders:
To prevent home location events from firing, it was necessary to create new passage tags. In each case, its just the base game passage tag preceeded by "als_":
als_shower_interrupt =Â shower_interrupt
als_activities_pre = activities_pre
als_daily = daily
als_night_options = night_options
als_nightly = nightly
als_overnight = overnight
als_today_requests = today_requests
Simply add the "als_" version to the appropriate place if your code should fire if the player is staying in an alternate living space.
But anyone can use this to create their own alternate living space.
Replace "generic" with the name of your living space.
Â
Use the $passage_tag [als_define_space] to:
<- Replace "generic" with the name of your living space id. ->
(set:$als_home to it + (dm: "generic",(dm:"home name","Your Home",  <- Displays in the morning ->
"sleep location","Your Bedroom",  <- Displays at night ->
"planner","activities menu",  <- If you have a custom activities menu for your location, put the passage name here ->
"duration",0,  <- How long til 'rent' is due ->
"payments","als hotel room cost stay",  <- Default payment processing passage. Replace with custom passage name, if desired ->
"cost",1000,  <- Cost per day ->
"night","als night",  <- Night display passage ->
"night options","als night options",  <- Night options passage ->
"shower","als shower",  <- Custom shower passage ->
"morning image","als generic day image",  <- Custom morning image ->
"bedroom image","als generic night image",  <- Custom night image ->
"tags",(a:))))  <- Tags for additional information ->
And then define any passages as needed.
------------------------------------------------
My subscribestar, if you wish to support me:
https://subscribestar.adult/shadowdragon