Modelling player characters and starting a scafolding "protobot".
This commit is contained in:
parent
bd1257de86
commit
62756bf703
0
RoloLudo.package/LudoBot.class/README.md
Normal file
0
RoloLudo.package/LudoBot.class/README.md
Normal file
@ -0,0 +1,7 @@
|
||||
accessing
|
||||
newRandomPlayerCharacter
|
||||
^ SfPlayerCharacter new
|
||||
momentum;
|
||||
health: 5;
|
||||
spirit: 5;
|
||||
supply: 5.
|
11
RoloLudo.package/LudoBot.class/properties.json
Normal file
11
RoloLudo.package/LudoBot.class/properties.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"commentStamp" : "",
|
||||
"super" : "Object",
|
||||
"category" : "RoloLudo",
|
||||
"classinstvars" : [ ],
|
||||
"pools" : [ ],
|
||||
"classvars" : [ ],
|
||||
"instvars" : [ ],
|
||||
"name" : "LudoBot",
|
||||
"type" : "normal"
|
||||
}
|
1
RoloLudo.package/SfPlayerCharacter.class/README.md
Normal file
1
RoloLudo.package/SfPlayerCharacter.class/README.md
Normal file
@ -0,0 +1 @@
|
||||
I model a player character for the Ironsworn Starforged game.
|
@ -0,0 +1,4 @@
|
||||
accessing
|
||||
assets: anObject
|
||||
|
||||
assets := anObject
|
@ -0,0 +1,4 @@
|
||||
accessing
|
||||
assets
|
||||
|
||||
^ assets
|
@ -0,0 +1,4 @@
|
||||
accessing
|
||||
callsign: anObject
|
||||
|
||||
callsign := anObject
|
@ -0,0 +1,4 @@
|
||||
accessing
|
||||
callsign
|
||||
|
||||
^ callsign
|
@ -0,0 +1,4 @@
|
||||
accessing
|
||||
health: anObject
|
||||
|
||||
health := anObject
|
@ -0,0 +1,4 @@
|
||||
accessing
|
||||
health
|
||||
|
||||
^ health
|
@ -0,0 +1,4 @@
|
||||
accessing
|
||||
momentum: anObject
|
||||
|
||||
momentum := anObject
|
@ -0,0 +1,8 @@
|
||||
accessing
|
||||
momentum
|
||||
^ momentum ifNil: [
|
||||
momentum := Dictionary new
|
||||
at: 'max' put: 10;
|
||||
at: 'reset' put: 2;
|
||||
at: 'current' put: 2.
|
||||
]
|
@ -0,0 +1,4 @@
|
||||
accessing
|
||||
name: anObject
|
||||
|
||||
name := anObject
|
@ -0,0 +1,4 @@
|
||||
accessing
|
||||
name
|
||||
|
||||
^ name
|
@ -0,0 +1,4 @@
|
||||
accessing
|
||||
pronouns: anObject
|
||||
|
||||
pronouns := anObject
|
@ -0,0 +1,4 @@
|
||||
accessing
|
||||
pronouns
|
||||
|
||||
^ pronouns
|
@ -0,0 +1,4 @@
|
||||
accessing
|
||||
spirit: anObject
|
||||
|
||||
spirit := anObject
|
@ -0,0 +1,4 @@
|
||||
accessing
|
||||
spirit
|
||||
|
||||
^ spirit
|
@ -0,0 +1,4 @@
|
||||
accessing
|
||||
stats: anObject
|
||||
|
||||
stats := anObject
|
@ -0,0 +1,4 @@
|
||||
accessing
|
||||
stats
|
||||
|
||||
^ stats
|
@ -0,0 +1,4 @@
|
||||
accessing
|
||||
supply: anObject
|
||||
|
||||
supply := anObject
|
@ -0,0 +1,4 @@
|
||||
accessing
|
||||
supply
|
||||
|
||||
^ supply
|
@ -0,0 +1,4 @@
|
||||
accessing
|
||||
vows: anObject
|
||||
|
||||
vows := anObject
|
@ -0,0 +1,4 @@
|
||||
accessing
|
||||
vows
|
||||
|
||||
^ vows
|
22
RoloLudo.package/SfPlayerCharacter.class/properties.json
Normal file
22
RoloLudo.package/SfPlayerCharacter.class/properties.json
Normal file
@ -0,0 +1,22 @@
|
||||
{
|
||||
"commentStamp" : "<historical>",
|
||||
"super" : "Object",
|
||||
"category" : "RoloLudo",
|
||||
"classinstvars" : [ ],
|
||||
"pools" : [ ],
|
||||
"classvars" : [ ],
|
||||
"instvars" : [
|
||||
"name",
|
||||
"pronouns",
|
||||
"callsign",
|
||||
"assets",
|
||||
"stats",
|
||||
"vows",
|
||||
"momentum",
|
||||
"health",
|
||||
"spirit",
|
||||
"supply"
|
||||
],
|
||||
"name" : "SfPlayerCharacter",
|
||||
"type" : "normal"
|
||||
}
|
Loading…
Reference in New Issue
Block a user