Skip to content

Instantly share code, notes, and snippets.

@samanthadoran
Last active April 11, 2016 18:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save samanthadoran/4b6f109c2856868d91f3 to your computer and use it in GitHub Desktop.
Save samanthadoran/4b6f109c2856868d91f3 to your computer and use it in GitHub Desktop.
[samanthadoran@samdoran-linux scaling-goggles]$ rlwrap sbcl --load "scaling-goggles.lisp"
This is SBCL 1.3.1, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://www.sbcl.org/>.
SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses. See the CREDITS and COPYING files in the
distribution for more information.
To load "split-sequence":
Load 1 ASDF system:
split-sequence
; Loading "split-sequence"
* (defvar sam (soggles:make-default-player 'sam))
SAM
* (soggles:give-feat (soggles:make-feat-expression "stuff" 4 "skills/Acrobatics/misc") sam)
(+ 4)
* (soggles:update-skill-modifier "Acrobatics" "class-skill" T sam)
T
* (soggles:update-skill-modifier "Acrobatics" "score" 1 sam)
1
* (soggles:equip-item (pairlis (list "name" "slot" "weight") (list "armor" "chest" 12)) sam)
(("weight" . 12) ("slot" . "chest") ("name" . "armor"))
* (soggles:print-pretty sam)
"Stats"
"***********"
"encumbrance" : Light
"weight" : 130
"total weight" : 142
"Skills"
"***********"
"Use Magic Device" :
value: 0
misc: 0
score: 0
bonus: charisma
class-skill: NIL
name: Use Magic Device
"Swim" :
value: 0
misc: 0
score: 0
bonus: strength
class-skill: NIL
name: Swim
"Survival" :
value: 0
misc: 0
score: 0
bonus: wisdom
class-skill: NIL
name: Survival
"Stealth" :
value: 0
misc: 0
score: 0
bonus: dexterity
class-skill: NIL
name: Stealth
"Spellcraft" :
value: 0
misc: 0
score: 0
bonus: intelligence
class-skill: NIL
name: Spellcraft
"Sleight of Hand" :
value: 0
misc: 0
score: 0
bonus: dexterity
class-skill: NIL
name: Sleight of Hand
"Sense Motive" :
value: 0
misc: 0
score: 0
bonus: wisdom
class-skill: NIL
name: Sense Motive
"Ride" :
value: 0
misc: 0
score: 0
bonus: dexterity
class-skill: NIL
name: Ride
"Profession" :
value: 0
misc: 0
score: 0
bonus: wisdom
class-skill: NIL
name: Profession
"Perform" :
value: 0
misc: 0
score: 0
bonus: charisma
class-skill: NIL
name: Perform
"Perception" :
value: 0
misc: 0
score: 0
bonus: wisdom
class-skill: NIL
name: Perception
"Linguistics" :
value: 0
misc: 0
score: 0
bonus: intelligence
class-skill: NIL
name: Linguistics
"Knowledge" :
value: 0
misc: 0
score: 0
bonus: intelligence
class-skill: NIL
name: Knowledge
"Intimidate" :
value: 0
misc: 0
score: 0
bonus: charisma
class-skill: NIL
name: Intimidate
"Heal" :
value: 0
misc: 0
score: 0
bonus: wisdom
class-skill: NIL
name: Heal
"Handle Animal" :
value: 0
misc: 0
score: 0
bonus: charisma
class-skill: NIL
name: Handle Animal
"Fly" :
value: 0
misc: 0
score: 0
bonus: dexterity
class-skill: NIL
name: Fly
"Escape Artist" :
value: 0
misc: 0
score: 0
bonus: dexterity
class-skill: NIL
name: Escape Artist
"Disguise" :
value: 0
misc: 0
score: 0
bonus: charisma
class-skill: NIL
name: Disguise
"Disable Device" :
value: 0
misc: 0
score: 0
bonus: dexterity
class-skill: NIL
name: Disable Device
"Diplomacy" :
value: 0
misc: 0
score: 0
bonus: charisma
class-skill: NIL
name: Diplomacy
"Craft" :
value: 0
misc: 0
score: 0
bonus: intelligence
class-skill: NIL
name: Craft
"Climb" :
value: 0
misc: 0
score: 0
bonus: strength
class-skill: NIL
name: Climb
"Bluff" :
value: 0
misc: 0
score: 0
bonus: charisma
class-skill: NIL
name: Bluff
"Appraise" :
value: 0
misc: 0
score: 0
bonus: intelligence
class-skill: NIL
name: Appraise
"Acrobatics" :
value: 8
misc: 4
score: 1
bonus: dexterity
class-skill: T
name: Acrobatics
"Scores"
"***********"
"charisma" : 10
"wisdom" : 10
"intelligence" : 10
"constitution" : 10
"dexterity" : 10
"strength" : 10
"Feats"
"***********"
"stuff" : 4
"Inventory"
"***********"
"Equipment"
"***********"
"chest" :
weight: 12
slot: chest
name: armor
#\Newline
*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment