Ports "Replaces the rpg loot datum with a component and makes some suffixes have real effects" & co

This commit is contained in:
Ghommie
2019-10-31 22:40:11 +01:00
parent d249a38489
commit b653595702
26 changed files with 766 additions and 98 deletions
+13
View File
@@ -0,0 +1,13 @@
/datum/fantasy_affix
var/placement // A bitflag of "slots" this affix takes up, for example pre/suffix
var/alignment
var/weight = 10
// For those occasional affixes which only make sense in certain circumstances
/datum/fantasy_affix/proc/validate(datum/component/fantasy/comp)
return TRUE
/datum/fantasy_affix/proc/apply(datum/component/fantasy/comp, newName)
return newName
/datum/fantasy_affix/proc/remove(datum/component/fantasy/comp)