mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-14 19:51:59 +00:00
[MIRROR] Removes "availible" mispellings in codebase (#427)
* Removes "availible" mispellings in codebase (#53046) * AVAILABLE * Rebuild tgui Co-authored-by: Aleksej Komarov <stylemistake@gmail.com> * Removes "availible" mispellings in codebase Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com> Co-authored-by: Aleksej Komarov <stylemistake@gmail.com>
This commit is contained in:
@@ -344,7 +344,7 @@
|
|||||||
for(var/rec in GLOB.crafting_recipes)
|
for(var/rec in GLOB.crafting_recipes)
|
||||||
var/datum/crafting_recipe/R = rec
|
var/datum/crafting_recipe/R = rec
|
||||||
|
|
||||||
if(!R.always_availible && !(R.type in user?.mind?.learned_recipes)) //User doesn't actually know how to make this.
|
if(!R.always_available && !(R.type in user?.mind?.learned_recipes)) //User doesn't actually know how to make this.
|
||||||
continue
|
continue
|
||||||
|
|
||||||
if((R.category != cur_category) || (R.subcategory != cur_subcategory))
|
if((R.category != cur_category) || (R.subcategory != cur_subcategory))
|
||||||
@@ -365,7 +365,7 @@
|
|||||||
if(R.name == "") //This is one of the invalid parents that sneaks in
|
if(R.name == "") //This is one of the invalid parents that sneaks in
|
||||||
continue
|
continue
|
||||||
|
|
||||||
if(!R.always_availible && !(R.type in user?.mind?.learned_recipes)) //User doesn't actually know how to make this.
|
if(!R.always_available && !(R.type in user?.mind?.learned_recipes)) //User doesn't actually know how to make this.
|
||||||
continue
|
continue
|
||||||
|
|
||||||
if(isnull(crafting_recipes[R.category]))
|
if(isnull(crafting_recipes[R.category]))
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
var/list/chem_catalysts = list() //like tools but for reagents
|
var/list/chem_catalysts = list() //like tools but for reagents
|
||||||
var/category = CAT_NONE //where it shows up in the crafting UI
|
var/category = CAT_NONE //where it shows up in the crafting UI
|
||||||
var/subcategory = CAT_NONE
|
var/subcategory = CAT_NONE
|
||||||
var/always_availible = TRUE //Set to FALSE if it needs to be learned first.
|
var/always_available = TRUE //Set to FALSE if it needs to be learned first.
|
||||||
/// Additonal requirements text shown in UI
|
/// Additonal requirements text shown in UI
|
||||||
var/additional_req_text
|
var/additional_req_text
|
||||||
|
|
||||||
@@ -776,7 +776,7 @@
|
|||||||
|
|
||||||
/datum/crafting_recipe/rib
|
/datum/crafting_recipe/rib
|
||||||
name = "Collosal Rib"
|
name = "Collosal Rib"
|
||||||
always_availible = FALSE
|
always_available = FALSE
|
||||||
reqs = list(
|
reqs = list(
|
||||||
/obj/item/stack/sheet/bone = 10,
|
/obj/item/stack/sheet/bone = 10,
|
||||||
/datum/reagent/fuel/oil = 5)
|
/datum/reagent/fuel/oil = 5)
|
||||||
@@ -785,7 +785,7 @@
|
|||||||
|
|
||||||
/datum/crafting_recipe/skull
|
/datum/crafting_recipe/skull
|
||||||
name = "Skull Carving"
|
name = "Skull Carving"
|
||||||
always_availible = FALSE
|
always_available = FALSE
|
||||||
reqs = list(
|
reqs = list(
|
||||||
/obj/item/stack/sheet/bone = 6,
|
/obj/item/stack/sheet/bone = 6,
|
||||||
/datum/reagent/fuel/oil = 5)
|
/datum/reagent/fuel/oil = 5)
|
||||||
@@ -794,7 +794,7 @@
|
|||||||
|
|
||||||
/datum/crafting_recipe/halfskull
|
/datum/crafting_recipe/halfskull
|
||||||
name = "Cracked Skull Carving"
|
name = "Cracked Skull Carving"
|
||||||
always_availible = FALSE
|
always_available = FALSE
|
||||||
reqs = list(
|
reqs = list(
|
||||||
/obj/item/stack/sheet/bone = 3,
|
/obj/item/stack/sheet/bone = 3,
|
||||||
/datum/reagent/fuel/oil = 5)
|
/datum/reagent/fuel/oil = 5)
|
||||||
@@ -803,7 +803,7 @@
|
|||||||
|
|
||||||
/datum/crafting_recipe/boneshovel
|
/datum/crafting_recipe/boneshovel
|
||||||
name = "Serrated Bone Shovel"
|
name = "Serrated Bone Shovel"
|
||||||
always_availible = FALSE
|
always_available = FALSE
|
||||||
reqs = list(
|
reqs = list(
|
||||||
/obj/item/stack/sheet/bone = 4,
|
/obj/item/stack/sheet/bone = 4,
|
||||||
/datum/reagent/fuel/oil = 5,
|
/datum/reagent/fuel/oil = 5,
|
||||||
|
|||||||
@@ -1351,24 +1351,24 @@ Traitors and the like can also be revived with the previous role mostly intact.
|
|||||||
var/add_or_remove = input("Remove/Add?", "Trait Remove/Add") as null|anything in list("Add","Remove")
|
var/add_or_remove = input("Remove/Add?", "Trait Remove/Add") as null|anything in list("Add","Remove")
|
||||||
if(!add_or_remove)
|
if(!add_or_remove)
|
||||||
return
|
return
|
||||||
var/list/availible_traits = list()
|
var/list/available_traits = list()
|
||||||
|
|
||||||
switch(add_or_remove)
|
switch(add_or_remove)
|
||||||
if("Add")
|
if("Add")
|
||||||
for(var/key in GLOB.traits_by_type)
|
for(var/key in GLOB.traits_by_type)
|
||||||
if(istype(D,key))
|
if(istype(D,key))
|
||||||
availible_traits += GLOB.traits_by_type[key]
|
available_traits += GLOB.traits_by_type[key]
|
||||||
if("Remove")
|
if("Remove")
|
||||||
if(!GLOB.trait_name_map)
|
if(!GLOB.trait_name_map)
|
||||||
GLOB.trait_name_map = generate_trait_name_map()
|
GLOB.trait_name_map = generate_trait_name_map()
|
||||||
for(var/trait in D.status_traits)
|
for(var/trait in D.status_traits)
|
||||||
var/name = GLOB.trait_name_map[trait] || trait
|
var/name = GLOB.trait_name_map[trait] || trait
|
||||||
availible_traits[name] = trait
|
available_traits[name] = trait
|
||||||
|
|
||||||
var/chosen_trait = input("Select trait to modify", "Trait") as null|anything in sortList(availible_traits)
|
var/chosen_trait = input("Select trait to modify", "Trait") as null|anything in sortList(available_traits)
|
||||||
if(!chosen_trait)
|
if(!chosen_trait)
|
||||||
return
|
return
|
||||||
chosen_trait = availible_traits[chosen_trait]
|
chosen_trait = available_traits[chosen_trait]
|
||||||
|
|
||||||
var/source = "adminabuse"
|
var/source = "adminabuse"
|
||||||
switch(add_or_remove)
|
switch(add_or_remove)
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
..()
|
..()
|
||||||
no_coexistance_typecache = typecacheof(no_coexistance_typecache)
|
no_coexistance_typecache = typecacheof(no_coexistance_typecache)
|
||||||
|
|
||||||
/datum/spellbook_entry/proc/IsAvailible() // For config prefs / gamemode restrictions - these are round applied
|
/datum/spellbook_entry/proc/IsAvailable() // For config prefs / gamemode restrictions - these are round applied
|
||||||
return TRUE
|
return TRUE
|
||||||
|
|
||||||
/datum/spellbook_entry/proc/CanBuy(mob/living/carbon/human/user,obj/item/spellbook/book) // Specific circumstances
|
/datum/spellbook_entry/proc/CanBuy(mob/living/carbon/human/user,obj/item/spellbook/book) // Specific circumstances
|
||||||
@@ -478,7 +478,7 @@
|
|||||||
desc = "Spook the crew out by making them see dead people. Be warned, ghosts are capricious and occasionally vindicative, and some will use their incredibly minor abilities to frustrate you."
|
desc = "Spook the crew out by making them see dead people. Be warned, ghosts are capricious and occasionally vindicative, and some will use their incredibly minor abilities to frustrate you."
|
||||||
cost = 0
|
cost = 0
|
||||||
|
|
||||||
/datum/spellbook_entry/summon/ghosts/IsAvailible()
|
/datum/spellbook_entry/summon/ghosts/IsAvailable()
|
||||||
if(!SSticker.mode)
|
if(!SSticker.mode)
|
||||||
return FALSE
|
return FALSE
|
||||||
else
|
else
|
||||||
@@ -496,7 +496,7 @@
|
|||||||
name = "Summon Guns"
|
name = "Summon Guns"
|
||||||
desc = "Nothing could possibly go wrong with arming a crew of lunatics just itching for an excuse to kill you. There is a good chance that they will shoot each other first."
|
desc = "Nothing could possibly go wrong with arming a crew of lunatics just itching for an excuse to kill you. There is a good chance that they will shoot each other first."
|
||||||
|
|
||||||
/datum/spellbook_entry/summon/guns/IsAvailible()
|
/datum/spellbook_entry/summon/guns/IsAvailable()
|
||||||
if(!SSticker.mode) // In case spellbook is placed on map
|
if(!SSticker.mode) // In case spellbook is placed on map
|
||||||
return FALSE
|
return FALSE
|
||||||
if(istype(SSticker.mode, /datum/game_mode/dynamic)) // Disable events on dynamic
|
if(istype(SSticker.mode, /datum/game_mode/dynamic)) // Disable events on dynamic
|
||||||
@@ -515,7 +515,7 @@
|
|||||||
name = "Summon Magic"
|
name = "Summon Magic"
|
||||||
desc = "Share the wonders of magic with the crew and show them why they aren't to be trusted with it at the same time."
|
desc = "Share the wonders of magic with the crew and show them why they aren't to be trusted with it at the same time."
|
||||||
|
|
||||||
/datum/spellbook_entry/summon/magic/IsAvailible()
|
/datum/spellbook_entry/summon/magic/IsAvailable()
|
||||||
if(!SSticker.mode) // In case spellbook is placed on map
|
if(!SSticker.mode) // In case spellbook is placed on map
|
||||||
return FALSE
|
return FALSE
|
||||||
if(istype(SSticker.mode, /datum/game_mode/dynamic)) // Disable events on dynamic
|
if(istype(SSticker.mode, /datum/game_mode/dynamic)) // Disable events on dynamic
|
||||||
@@ -537,7 +537,7 @@
|
|||||||
limit = 1
|
limit = 1
|
||||||
var/times = 0
|
var/times = 0
|
||||||
|
|
||||||
/datum/spellbook_entry/summon/events/IsAvailible()
|
/datum/spellbook_entry/summon/events/IsAvailable()
|
||||||
if(!SSticker.mode) // In case spellbook is placed on map
|
if(!SSticker.mode) // In case spellbook is placed on map
|
||||||
return FALSE
|
return FALSE
|
||||||
if(istype(SSticker.mode, /datum/game_mode/dynamic)) // Disable events on dynamic
|
if(istype(SSticker.mode, /datum/game_mode/dynamic)) // Disable events on dynamic
|
||||||
@@ -605,7 +605,7 @@
|
|||||||
var/entry_types = subtypesof(/datum/spellbook_entry) - /datum/spellbook_entry/item - /datum/spellbook_entry/summon
|
var/entry_types = subtypesof(/datum/spellbook_entry) - /datum/spellbook_entry/item - /datum/spellbook_entry/summon
|
||||||
for(var/T in entry_types)
|
for(var/T in entry_types)
|
||||||
var/datum/spellbook_entry/E = new T
|
var/datum/spellbook_entry/E = new T
|
||||||
if(E.IsAvailible())
|
if(E.IsAvailable())
|
||||||
entries |= E
|
entries |= E
|
||||||
categories |= E.category
|
categories |= E.category
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -11,15 +11,15 @@ GLOBAL_LIST_EMPTY(gateway_destinations)
|
|||||||
/datum/gateway_destination
|
/datum/gateway_destination
|
||||||
var/name = "Unknown Destination"
|
var/name = "Unknown Destination"
|
||||||
var/wait = 0 /// How long after roundstart this destination becomes active
|
var/wait = 0 /// How long after roundstart this destination becomes active
|
||||||
var/enabled = TRUE /// If disabled, the destination won't be availible
|
var/enabled = TRUE /// If disabled, the destination won't be available
|
||||||
var/hidden = FALSE /// Will not show on gateway controls at all.
|
var/hidden = FALSE /// Will not show on gateway controls at all.
|
||||||
|
|
||||||
/* Can a gateway link to this destination right now. */
|
/* Can a gateway link to this destination right now. */
|
||||||
/datum/gateway_destination/proc/is_availible()
|
/datum/gateway_destination/proc/is_available()
|
||||||
return enabled && (world.time - SSticker.round_start_time >= wait)
|
return enabled && (world.time - SSticker.round_start_time >= wait)
|
||||||
|
|
||||||
/* Returns user-friendly description why you can't connect to this destination, displayed in UI */
|
/* Returns user-friendly description why you can't connect to this destination, displayed in UI */
|
||||||
/datum/gateway_destination/proc/get_availible_reason()
|
/datum/gateway_destination/proc/get_available_reason()
|
||||||
. = "Unreachable"
|
. = "Unreachable"
|
||||||
if(world.time - SSticker.round_start_time < wait)
|
if(world.time - SSticker.round_start_time < wait)
|
||||||
. = "Connection desynchronized. Recalibration in progress."
|
. = "Connection desynchronized. Recalibration in progress."
|
||||||
@@ -52,8 +52,8 @@ GLOBAL_LIST_EMPTY(gateway_destinations)
|
|||||||
. = list()
|
. = list()
|
||||||
.["ref"] = REF(src)
|
.["ref"] = REF(src)
|
||||||
.["name"] = name
|
.["name"] = name
|
||||||
.["availible"] = is_availible()
|
.["available"] = is_available()
|
||||||
.["reason"] = get_availible_reason()
|
.["reason"] = get_available_reason()
|
||||||
if(wait)
|
if(wait)
|
||||||
.["timeout"] = max(1 - (wait - (world.time - SSticker.round_start_time)) / wait, 0)
|
.["timeout"] = max(1 - (wait - (world.time - SSticker.round_start_time)) / wait, 0)
|
||||||
|
|
||||||
@@ -72,10 +72,10 @@ GLOBAL_LIST_EMPTY(gateway_destinations)
|
|||||||
if(target_gateway.target == deactivated.destination)
|
if(target_gateway.target == deactivated.destination)
|
||||||
target_gateway.deactivate()
|
target_gateway.deactivate()
|
||||||
|
|
||||||
/datum/gateway_destination/gateway/is_availible()
|
/datum/gateway_destination/gateway/is_available()
|
||||||
return ..() && target_gateway.calibrated && !target_gateway.target && target_gateway.powered()
|
return ..() && target_gateway.calibrated && !target_gateway.target && target_gateway.powered()
|
||||||
|
|
||||||
/datum/gateway_destination/gateway/get_availible_reason()
|
/datum/gateway_destination/gateway/get_available_reason()
|
||||||
. = ..()
|
. = ..()
|
||||||
if(!target_gateway.calibrated)
|
if(!target_gateway.calibrated)
|
||||||
. = "Exit gateway malfunction. Manual recalibration required."
|
. = "Exit gateway malfunction. Manual recalibration required."
|
||||||
@@ -317,7 +317,7 @@ GLOBAL_LIST_EMPTY(gateway_destinations)
|
|||||||
/obj/machinery/computer/gateway_control/proc/try_to_connect(datum/gateway_destination/D)
|
/obj/machinery/computer/gateway_control/proc/try_to_connect(datum/gateway_destination/D)
|
||||||
if(!D || !G)
|
if(!D || !G)
|
||||||
return
|
return
|
||||||
if(!D.is_availible() || G.target)
|
if(!D.is_available() || G.target)
|
||||||
return
|
return
|
||||||
G.activate(D)
|
G.activate(D)
|
||||||
|
|
||||||
|
|||||||
@@ -162,7 +162,7 @@
|
|||||||
|
|
||||||
/datum/crafting_recipe/food/clowncake
|
/datum/crafting_recipe/food/clowncake
|
||||||
name = "clown cake"
|
name = "clown cake"
|
||||||
always_availible = FALSE
|
always_available = FALSE
|
||||||
reqs = list(
|
reqs = list(
|
||||||
/obj/item/reagent_containers/food/snacks/store/cake/plain = 1,
|
/obj/item/reagent_containers/food/snacks/store/cake/plain = 1,
|
||||||
/obj/item/reagent_containers/food/snacks/sundae = 2,
|
/obj/item/reagent_containers/food/snacks/sundae = 2,
|
||||||
@@ -173,7 +173,7 @@
|
|||||||
|
|
||||||
/datum/crafting_recipe/food/vanillacake
|
/datum/crafting_recipe/food/vanillacake
|
||||||
name = "vanilla cake"
|
name = "vanilla cake"
|
||||||
always_availible = FALSE
|
always_available = FALSE
|
||||||
reqs = list(
|
reqs = list(
|
||||||
/obj/item/reagent_containers/food/snacks/store/cake/plain = 1,
|
/obj/item/reagent_containers/food/snacks/store/cake/plain = 1,
|
||||||
/obj/item/reagent_containers/food/snacks/grown/vanillapod = 2
|
/obj/item/reagent_containers/food/snacks/grown/vanillapod = 2
|
||||||
|
|||||||
@@ -132,7 +132,7 @@
|
|||||||
|
|
||||||
/datum/crafting_recipe/food/mimetart
|
/datum/crafting_recipe/food/mimetart
|
||||||
name = "Mime tart"
|
name = "Mime tart"
|
||||||
always_availible = FALSE
|
always_available = FALSE
|
||||||
reqs = list(
|
reqs = list(
|
||||||
/datum/reagent/consumable/milk = 5,
|
/datum/reagent/consumable/milk = 5,
|
||||||
/datum/reagent/consumable/sugar = 5,
|
/datum/reagent/consumable/sugar = 5,
|
||||||
@@ -144,7 +144,7 @@
|
|||||||
|
|
||||||
/datum/crafting_recipe/food/berrytart
|
/datum/crafting_recipe/food/berrytart
|
||||||
name = "Berry tart"
|
name = "Berry tart"
|
||||||
always_availible = FALSE
|
always_available = FALSE
|
||||||
reqs = list(
|
reqs = list(
|
||||||
/datum/reagent/consumable/milk = 5,
|
/datum/reagent/consumable/milk = 5,
|
||||||
/datum/reagent/consumable/sugar = 5,
|
/datum/reagent/consumable/sugar = 5,
|
||||||
@@ -156,7 +156,7 @@
|
|||||||
|
|
||||||
/datum/crafting_recipe/food/cocolavatart
|
/datum/crafting_recipe/food/cocolavatart
|
||||||
name = "Chocolate Lava tart"
|
name = "Chocolate Lava tart"
|
||||||
always_availible = FALSE
|
always_available = FALSE
|
||||||
reqs = list(
|
reqs = list(
|
||||||
/datum/reagent/consumable/milk = 5,
|
/datum/reagent/consumable/milk = 5,
|
||||||
/datum/reagent/consumable/sugar = 5,
|
/datum/reagent/consumable/sugar = 5,
|
||||||
|
|||||||
@@ -72,7 +72,7 @@
|
|||||||
var/list/ruins = potentialRuins.Copy()
|
var/list/ruins = potentialRuins.Copy()
|
||||||
|
|
||||||
var/list/forced_ruins = list() //These go first on the z level associated (same random one by default) or if the assoc value is a turf to the specified turf.
|
var/list/forced_ruins = list() //These go first on the z level associated (same random one by default) or if the assoc value is a turf to the specified turf.
|
||||||
var/list/ruins_availible = list() //we can try these in the current pass
|
var/list/ruins_available = list() //we can try these in the current pass
|
||||||
|
|
||||||
//Set up the starting ruin list
|
//Set up the starting ruin list
|
||||||
for(var/key in ruins)
|
for(var/key in ruins)
|
||||||
@@ -83,8 +83,8 @@
|
|||||||
forced_ruins[R] = -1
|
forced_ruins[R] = -1
|
||||||
if(R.unpickable)
|
if(R.unpickable)
|
||||||
continue
|
continue
|
||||||
ruins_availible[R] = R.placement_weight
|
ruins_available[R] = R.placement_weight
|
||||||
while(budget > 0 && (ruins_availible.len || forced_ruins.len))
|
while(budget > 0 && (ruins_available.len || forced_ruins.len))
|
||||||
var/datum/map_template/ruin/current_pick
|
var/datum/map_template/ruin/current_pick
|
||||||
var/forced = FALSE
|
var/forced = FALSE
|
||||||
var/forced_z //If set we won't pick z level and use this one instead.
|
var/forced_z //If set we won't pick z level and use this one instead.
|
||||||
@@ -101,7 +101,7 @@
|
|||||||
forced = TRUE
|
forced = TRUE
|
||||||
break
|
break
|
||||||
else //Otherwise just pick random one
|
else //Otherwise just pick random one
|
||||||
current_pick = pickweight(ruins_availible)
|
current_pick = pickweight(ruins_available)
|
||||||
|
|
||||||
var/placement_tries = forced_turf ? 1 : PLACEMENT_TRIES //Only try once if we target specific turf
|
var/placement_tries = forced_turf ? 1 : PLACEMENT_TRIES //Only try once if we target specific turf
|
||||||
var/failed_to_place = TRUE
|
var/failed_to_place = TRUE
|
||||||
@@ -137,21 +137,21 @@
|
|||||||
forced = FALSE
|
forced = FALSE
|
||||||
|
|
||||||
if(failed_to_place)
|
if(failed_to_place)
|
||||||
for(var/datum/map_template/ruin/R in ruins_availible)
|
for(var/datum/map_template/ruin/R in ruins_available)
|
||||||
if(R.id == current_pick.id)
|
if(R.id == current_pick.id)
|
||||||
ruins_availible -= R
|
ruins_available -= R
|
||||||
log_world("Failed to place [current_pick.name] ruin.")
|
log_world("Failed to place [current_pick.name] ruin.")
|
||||||
else
|
else
|
||||||
budget -= current_pick.cost
|
budget -= current_pick.cost
|
||||||
if(!current_pick.allow_duplicates)
|
if(!current_pick.allow_duplicates)
|
||||||
for(var/datum/map_template/ruin/R in ruins_availible)
|
for(var/datum/map_template/ruin/R in ruins_available)
|
||||||
if(R.id == current_pick.id)
|
if(R.id == current_pick.id)
|
||||||
ruins_availible -= R
|
ruins_available -= R
|
||||||
if(current_pick.never_spawn_with)
|
if(current_pick.never_spawn_with)
|
||||||
for(var/blacklisted_type in current_pick.never_spawn_with)
|
for(var/blacklisted_type in current_pick.never_spawn_with)
|
||||||
for(var/possible_exclusion in ruins_availible)
|
for(var/possible_exclusion in ruins_available)
|
||||||
if(istype(possible_exclusion,blacklisted_type))
|
if(istype(possible_exclusion,blacklisted_type))
|
||||||
ruins_availible -= possible_exclusion
|
ruins_available -= possible_exclusion
|
||||||
if(current_pick.always_spawn_with)
|
if(current_pick.always_spawn_with)
|
||||||
for(var/v in current_pick.always_spawn_with)
|
for(var/v in current_pick.always_spawn_with)
|
||||||
for(var/ruin_name in SSmapping.ruins_templates) //Because we might want to add space templates as linked of lava templates.
|
for(var/ruin_name in SSmapping.ruins_templates) //Because we might want to add space templates as linked of lava templates.
|
||||||
@@ -171,9 +171,9 @@
|
|||||||
if(PLACE_ISOLATED)
|
if(PLACE_ISOLATED)
|
||||||
forced_ruins[linked] = SSmapping.get_isolated_ruin_z()
|
forced_ruins[linked] = SSmapping.get_isolated_ruin_z()
|
||||||
|
|
||||||
//Update the availible list
|
//Update the available list
|
||||||
for(var/datum/map_template/ruin/R in ruins_availible)
|
for(var/datum/map_template/ruin/R in ruins_available)
|
||||||
if(R.cost > budget)
|
if(R.cost > budget)
|
||||||
ruins_availible -= R
|
ruins_available -= R
|
||||||
|
|
||||||
log_world("Ruin loader finished with [budget] left to spend.")
|
log_world("Ruin loader finished with [budget] left to spend.")
|
||||||
|
|||||||
@@ -496,7 +496,7 @@
|
|||||||
|
|
||||||
// Used to make sure that a player has a valid job preference setup, used to knock players out of eligibility for anything if their prefs don't make sense.
|
// Used to make sure that a player has a valid job preference setup, used to knock players out of eligibility for anything if their prefs don't make sense.
|
||||||
// A "valid job preference setup" in this situation means at least having one job set to low, or not having "return to lobby" enabled
|
// A "valid job preference setup" in this situation means at least having one job set to low, or not having "return to lobby" enabled
|
||||||
// Prevents "antag rolling" by setting antag prefs on, all jobs to never, and "return to lobby if preferences not availible"
|
// Prevents "antag rolling" by setting antag prefs on, all jobs to never, and "return to lobby if preferences not available"
|
||||||
// Doing so would previously allow you to roll for antag, then send you back to lobby if you didn't get an antag role
|
// Doing so would previously allow you to roll for antag, then send you back to lobby if you didn't get an antag role
|
||||||
// This also does some admin notification and logging as well, as well as some extra logic to make sure things don't go wrong
|
// This also does some admin notification and logging as well, as well as some extra logic to make sure things don't go wrong
|
||||||
/mob/dead/new_player/proc/check_preferences()
|
/mob/dead/new_player/proc/check_preferences()
|
||||||
|
|||||||
@@ -361,7 +361,7 @@
|
|||||||
|
|
||||||
/datum/reagent/hellwater/on_mob_life(mob/living/carbon/M)
|
/datum/reagent/hellwater/on_mob_life(mob/living/carbon/M)
|
||||||
M.fire_stacks = min(5,M.fire_stacks + 3)
|
M.fire_stacks = min(5,M.fire_stacks + 3)
|
||||||
M.IgniteMob() //Only problem with igniting people is currently the commonly availible fire suits make you immune to being on fire
|
M.IgniteMob() //Only problem with igniting people is currently the commonly available fire suits make you immune to being on fire
|
||||||
M.adjustToxLoss(1, 0)
|
M.adjustToxLoss(1, 0)
|
||||||
M.adjustFireLoss(1, 0) //Hence the other damages... ain't I a bastard?
|
M.adjustFireLoss(1, 0) //Hence the other damages... ain't I a bastard?
|
||||||
M.adjustOrganLoss(ORGAN_SLOT_BRAIN, 5, 150)
|
M.adjustOrganLoss(ORGAN_SLOT_BRAIN, 5, 150)
|
||||||
|
|||||||
@@ -250,7 +250,7 @@
|
|||||||
desc = "You put your right leg in, your right leg out. In, out, in, out, \
|
desc = "You put your right leg in, your right leg out. In, out, in, out, \
|
||||||
shake it all about. And apparently then it detaches.\n\
|
shake it all about. And apparently then it detaches.\n\
|
||||||
The hokey pokey has certainly changed a lot since space colonisation."
|
The hokey pokey has certainly changed a lot since space colonisation."
|
||||||
// alternative spellings of 'pokey' are availible
|
// alternative spellings of 'pokey' are available
|
||||||
icon_state = "default_human_r_leg"
|
icon_state = "default_human_r_leg"
|
||||||
attack_verb_continuous = list("kicks", "stomps")
|
attack_verb_continuous = list("kicks", "stomps")
|
||||||
attack_verb_simple = list("kick", "stomp")
|
attack_verb_simple = list("kick", "stomp")
|
||||||
|
|||||||
@@ -258,7 +258,7 @@ commit, while escape cancels.
|
|||||||
**Props:**
|
**Props:**
|
||||||
|
|
||||||
- See inherited props: [Box](#box)
|
- See inherited props: [Box](#box)
|
||||||
- `fluid`: fill availible horizontal space
|
- `fluid`: fill available horizontal space
|
||||||
- `onCommit: (e, value) => void`: function that is called after the user
|
- `onCommit: (e, value) => void`: function that is called after the user
|
||||||
defocuses the input or presses enter
|
defocuses the input or presses enter
|
||||||
- `currentValue: string`: default string to display when the input is shown
|
- `currentValue: string`: default string to display when the input is shown
|
||||||
|
|||||||
@@ -66,7 +66,7 @@ const GatewayContent = (props, context) => {
|
|||||||
<Section
|
<Section
|
||||||
key={dest.ref}
|
key={dest.ref}
|
||||||
title={dest.name}>
|
title={dest.name}>
|
||||||
{dest.availible && (
|
{dest.available && (
|
||||||
<Button
|
<Button
|
||||||
fluid
|
fluid
|
||||||
onClick={() => act('activate', {
|
onClick={() => act('activate', {
|
||||||
|
|||||||
@@ -243,7 +243,7 @@ export const StatusPane = (props, context) => {
|
|||||||
<Grid.Column size={0.85}>
|
<Grid.Column size={0.85}>
|
||||||
<LabeledList>
|
<LabeledList>
|
||||||
<LabeledList.Item
|
<LabeledList.Item
|
||||||
label="TC Availible"
|
label="TC Available"
|
||||||
buttons={(
|
buttons={(
|
||||||
<Button
|
<Button
|
||||||
content="Claim"
|
content="Claim"
|
||||||
@@ -305,7 +305,7 @@ const ContractsTab = (props, context) => {
|
|||||||
return (
|
return (
|
||||||
<Fragment>
|
<Fragment>
|
||||||
<Section
|
<Section
|
||||||
title="Availible Contracts"
|
title="Available Contracts"
|
||||||
buttons={(
|
buttons={(
|
||||||
<Button
|
<Button
|
||||||
content="Call Extraction"
|
content="Call Extraction"
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user