LordHogFred
Knight
[RunUO 2.0 SVN] Holiday Gift Giving Package
Hi guys,
Been a long time since I actually submitted something so I thought I should .
NOTE: XmlSpawner is required for this package to work.
FEATURES:
- Distributes gifts for holidays from a central stone wherever you place it.
- Each stone can support a different holiday event.
- Gifts given inherit from BaseHolidayGift which has holiday name and year properties, so no need to code new items every year for each holiday.
- HolidayGiftBox can be easily edited to support different holiday events.
- A minimum age for each stone can be set and the stone can be disabled after the event.
- Once a player has received their gifts a Date attachment is added which prevents them from getting another gift for that holiday again until next year.
At the moment this is set up to support Christmas along with all current Christmas gifts inherited from BaseHolidayGift. However, adding another holiday is very simple and I will very likely be releasing updates when new holiday events come about .
I decided to do this as I A) could never get the default gift giver to work properly and B) because I like the idea of players going to get their gifts rather than automatically receiving them.
Enjoy
P.S: At the moment all of my gifts are set to be "from" my staff and characters, you may want to change these to suit your shard better.
EDIT: Added the missing BaseHolidayGift script.
Hi guys,
Been a long time since I actually submitted something so I thought I should .
NOTE: XmlSpawner is required for this package to work.
FEATURES:
- Distributes gifts for holidays from a central stone wherever you place it.
- Each stone can support a different holiday event.
- Gifts given inherit from BaseHolidayGift which has holiday name and year properties, so no need to code new items every year for each holiday.
- HolidayGiftBox can be easily edited to support different holiday events.
- A minimum age for each stone can be set and the stone can be disabled after the event.
- Once a player has received their gifts a Date attachment is added which prevents them from getting another gift for that holiday again until next year.
At the moment this is set up to support Christmas along with all current Christmas gifts inherited from BaseHolidayGift. However, adding another holiday is very simple and I will very likely be releasing updates when new holiday events come about .
I decided to do this as I A) could never get the default gift giver to work properly and B) because I like the idea of players going to get their gifts rather than automatically receiving them.
Enjoy
P.S: At the moment all of my gifts are set to be "from" my staff and characters, you may want to change these to suit your shard better.
EDIT: Added the missing BaseHolidayGift script.