Jump to content

Photo

Ideas for Inns in Zquest

Quest Ideas Inns Help

  • Please log in to reply
6 replies to this topic

#1 Tree

Tree

    Everything must go away

  • Members
  • Real Name:Mundy Fumple McStroodlestein
  • Location:The Milky Way Galaxy

Posted 05 July 2016 - 02:35 PM

Hello once again, PureZC. I am in need of ideas!

 

In my quest, I want there to be inns found in various towns throughout the world that you can pay to sleep at to regain your health and magic. Pretty standard RPG stuff. The thing is, I'm not really sure how I'd go about doing this. I was thinking of combining the FFC shop script with a custom item that works as an inn key that'll open a door to a room, but that would be a permanent action. I want it so you have to pay every time you want a room. I'm kinda stumped on this... Any of you guys have any ideas of how I can achieve what I'm looking for?

 

Thanks for any help!



#2 Sephiroth

Sephiroth

    The Legendary Sephiroth

  • Members
  • Location:Somewhere... Lemme know if you find me :)

Posted 05 July 2016 - 03:17 PM

If you're planning to script it, you could make it so once Link enters the room and sleeps in the bed, you unset the secret/lock block/etc via a FFC Script on the screen with the door, then when Link exits the room, the door is shut once more behind him.
  • Twilight Knight likes this

#3 grayswandir

grayswandir

    semi-genius

  • ZC Developers

Posted 05 July 2016 - 03:19 PM

The easiest way would probably be the standard "shop with a useless item". Have the door on the top edge of the screen - you have buy something to make the "guy" disappear, letting you go off the top edge of the screen. On that screen you can have the healing script with a screen wipe and all the special effects.



#4 Tree

Tree

    Everything must go away

  • Members
  • Real Name:Mundy Fumple McStroodlestein
  • Location:The Milky Way Galaxy

Posted 05 July 2016 - 03:22 PM

If you're planning to script it, you could make it so once Link enters the room and sleeps in the bed, you unset the secret/lock block/etc via a FFC Script on the screen with the door, then when Link exits the room, the door is shut once more behind him.

I can't even begin to comprehend a script, so I'd need help with that.

 

 

The easiest way would probably be the standard "shop with a useless item". Have the door on the top edge of the screen - you have buy something to make the "guy" disappear, letting you go off the top edge of the screen. On that screen you can have the healing script with a screen wipe and all the special effects.

I have the quest rule "Message strings disappear." set because I'm using the Signpost script, so that cannot be done.



#5 Demonlink

Demonlink

    Lurking in the shadows...

  • Members
  • Real Name:Miguel
  • Location:Wouldn't you like to know?

Posted 05 July 2016 - 03:55 PM

A gimmick Obderhode once taught me. Maybe you can use the FFC shop, so you buy a useless item. Let me write you down how I imagine the process to work like:

 

1.- Set a useless enemy on the screen (which in this case, would be a Trigger type enemy).

2.- Set the Screen State to trigger secrets once all enemies die and the "Enemies Always Return" flag.

3.- Set the FFC shop script so you can buy a useless item.

4.- Give the useless item the "Item Pickup String" script found in the database.

5.- Using string control codes, in the string you want to show once you pickup the item, give silently the "Kill all enemies" item to Link.

6.- So, this would kill the "Trigger" enemy, thus triggering secrets to open the door or whatnot, and lastly, it would always reset each time Link would want to use the Inn.

 

Hopefully I explained myself. If not, give me a shout. :)


  • Shane and Tree like this

#6 grayswandir

grayswandir

    semi-genius

  • ZC Developers

Posted 05 July 2016 - 04:07 PM

Using scripts, this'd probably be easier than routing through an enemy:
item script TriggerSecrets {
 void run() {
   Screen->TriggerSecrets();
 }
}
Set that as the item's pickup script, and then when you buy it, you'll trigger the screen's secrets.

Edited by grayswandir, 05 July 2016 - 04:09 PM.

  • Tree and Demonlink like this

#7 Tree

Tree

    Everything must go away

  • Members
  • Real Name:Mundy Fumple McStroodlestein
  • Location:The Milky Way Galaxy

Posted 06 July 2016 - 03:01 AM

Those are some pretty clever ideas. I'll try out the script first, but if that somehow fails to work, I'll try your idea, Demonlink.

 

Thanks!


  • Demonlink likes this



Also tagged with one or more of these keywords: Quest, Ideas, Inns, Help

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users