filesave{

(*
	DATE-SAVING WORDS:

		' somevalue save-val
		"propname" save-prop
		save-prop: propname
		"commandtext" save-cmd
		save-voc( 				// saves current vocabulary path
		)save-voc 				// saves closing of current vocabulary path
*)

: dumpstate  // TODO: Save script-side game state variables and such
	
	' cool-it save-val
	' familiar-stack save-val
	
	' car-chassis save-val
	' car-max-chassis save-val
	' car-engine save-val
	' car-max-engine save-val
	' car-armor save-val
	' car-max-armor save-val
	' car-speed save-val
	' car-max-speed save-val
	' car-mpg save-val
	' car-repair save-val
	
	' special-lot-deck save-val
  regiondef{
	' rare-lot-deck save-val
	' trader-list save-val
	// OLD ' trader-deck save-val
  }
  road{ 
	' road-trip-days save-val
	' road-stack save-val
	' road-event-turn save-val
	' road-countdown save-val
	' road-difficulty save-val 
	' calendar-days save-val
	' diff-scalar save-val
	' nearcanada-day save-val
	' specialchar-mode save-val
	' familiar-mode save-val
	' easybandit-mode save-val
	' gamemode-word save-val
	' kills-this-game save-val
	
	' daily-deck save-val
	' fate-deck save-val
	' innerraid-deck save-val
	' rareinnerraid-deck save-val
	' specialchar-deck save-val
	' recruit-deck save-val
	' easyinnerraid-deck save-val
	' easycityraid-deck save-val
	' cityraid-deck	save-val
	' hazardraid-deck save-val
	' easyhazardraid-deck save-val
	' canadahazard-deck	save-val
	
	' trade-camp-deck save-val
	
	' walk-camp-deck save-val
	' find-car-deck save-val
	' walk-deck save-val
	' walk-countdown save-val
	' walk-trip-days save-val
	' walk-days-left save-val
	
	' day-pick-deck save-val
	' day-shuffle-deck save-val
	
	' common-deck save-val
	' rare-deck save-val
	' camp-deck save-val
	' despair-solo-deck save-val
	' despair-dog-deck save-val
	' despair-deck save-val
	' bandit-deck save-val
	' trade-deck save-val
	
	' lnk-countdown save-val
	' lnk-event save-val
	' lnk-bombbag save-val
	' anime-countdown save-val
	' knight-countdown save-val
	' ninja-countdown save-val
	' madsci-countdown save-val
	' mason-countdown save-val
	' mason-curse save-val
	' tlb-camped save-val

  }
 cyoa{ 
	' rescue-skill-deck save-val
	' rescue-reward-deck save-val
	' safe-reward save-val
	' lab-effect save-val
	' hazard-reward-deck save-val
	' hazard-special-deck save-val
  }
 statmod{
	' dsyp-farted save-val
  }
;

}

(*
// EXAMPLE
123 var fooz

voc{ savetest
0 var stackz
0 var buttz
}

: data-save-example
	savetest{
		0 stack map{ prefab{ ' cabin } } shove 1 shove 2 shove "three" shove ' dumpstack shove ' fooz shove 4 shove
			to stackz
		"BIG" to buttz

		save-voc(

		' stackz save-val
		' buttz save-val

		)save-voc

		0 to stackz
		0 to buttz
	}
;
*)
