Fixes Traits

This commit is contained in:
Chompstation Bot
2021-04-09 01:21:15 +00:00
parent 23af41589b
commit b421878f3f
2 changed files with 17 additions and 0 deletions

View File

@@ -492,8 +492,17 @@ var/global/list/remainless_species = list(SPECIES_PROMETHEAN,
var/datum/trait/instance = new path()
if(!instance.name)
continue //A prototype or something
<<<<<<< HEAD
var/cost = instance.cost
traits_costs[path] = cost
||||||| parent of 6c7827ade5... Merge pull request #10105 from Novacat/nova-ert
var/category = instance.category
traits_costs[path] = category
=======
var/category = instance.category
var/cost = instance.cost
traits_costs[path] = cost
>>>>>>> 6c7827ade5... Merge pull request #10105 from Novacat/nova-ert
all_traits[path] = instance
switch(cost)
if(-INFINITY to -0.1)

View File

@@ -24,8 +24,16 @@
/datum/trait/hardy_plus
name = "Major Hardy"
desc = "Allows you to carry heavy equipment with almost no slowdown."
<<<<<<< HEAD
cost = 2
var_changes = list("item_slowdown_mod" = 0.1)
||||||| parent of 6c7827ade5... Merge pull request #10105 from Novacat/nova-ert
cost = 3
var_changes = list("item_slowdown_mod" = 0.25)
=======
cost = 2
var_changes = list("item_slowdown_mod" = 0.25)
>>>>>>> 6c7827ade5... Merge pull request #10105 from Novacat/nova-ert
/datum/trait/endurance_high
name = "High Endurance"