Open source Star Ruler 2 source code!
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import abilities;
|
||||
from abilities import addAbilityType;
|
||||
|
||||
_Type definition;
|
||||
void init() {
|
||||
if(definition.implementationClass.length != 0)
|
||||
@definition.implementation = getClass(definition.implementationClass);
|
||||
addAbilityType(definition);
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
import region_effects;
|
||||
from region_effects import addRegionEffect;
|
||||
|
||||
_Type definition;
|
||||
void init() {
|
||||
if(definition.implementationClass.length != 0)
|
||||
@definition.implementation = getClass(definition.implementationClass);
|
||||
addRegionEffect(definition);
|
||||
}
|
||||
Reference in New Issue
Block a user