
cyoa{

: npc-fairy-go 
	($ cname .. " grants " .. pname .. "'s wish!" $) text! goodfx clear-cyoa
;

cyoa-choice: npc-fairy-food
	npc-fairy-go
	($ "This is what's considered wealth now, right?" pbold $) +crtext
	($ "She conjures up a bunch of food for " .. pname .. "." $) +crtext
	20 add-food deleteme
;

cyoa-bridge: npc-fairy-recruit
	cchar to recruitee npc-fairy-go
	($ "She cracks her knuckles then conjures up a baseball bat." $) +crtext
	($ "Sure, I'll be your friend!" pbold $) +crtext
	0.25 cchar .ai.wander_chance! 0 nearest .unseen! WEAPON_BASEBALL cchar .weapona!
	recruit-yesno
;

cyoa-choice: npc-fairy-vit
	npc-fairy-go
	($ "Live a long and happy life!" pbold $) +crtext
	pchar .vitality++ pchar .health++ deleteme
;

cyoa: npc-fairy
	"Queen of the Fairies" cyoa-title!
	nearest .character@ choosechar cicon
	($ "You found the Queen of the Fairies! She offers to grant " .. pname .. " a wish!" $) text!
		choice( "Don't make a wish yet" )choice
		choice( "Wealth" )choice: npc-fairy-food
		choice( "Health" )choice: npc-fairy-vit
		choice( "True Friendship" )choice: npc-fairy-recruit
		
;

}

: .fairy
	13 over .specialtype!
	"Fairy Queen" over .name!
	5 over .shooting!
	4 over .strength!
	6 over .fitness!
	1 over .female!
	0 over .loyalty!
	4 over .medical!
	"is the Queen of all Fae Folk." over .job!
	dup cyoa{ ' npc-fairy cyoa! }
	drop
;

locdef{
		
location
		tags: fairy
		max-rooms: 2
		entry-tags: trashed
		script: set-theme-house
		pre-script: set-theme-house
		
		room-choice: trashed
			room-weight: 10
			room-count: 2
			room-script: nad
			room-post-script: still-npc .fairy
			filter-only
			
}