Crystal Noel 33 Posted June 24, 2014 IntroductionThis script replicates the berry system from Pokemon. Allowing you to grow itemsand then harvest them. How to Berries WorkFrom the Bulbapieda Article on Berries: http://bulbapedia.bulbagarden.net/wiki/BerryMuch as other aspects of the Pokémon franchise received their most major updates in the transition from Generation II to Generation III, the Berry system was completely overhauled inGeneration III. Each of the Berries introduced in Generation III was given a number, not unlike the Pokédex numbers given to Pokémon, with the first ten in this ordering system having identical or nearly-identical effects to the Berries of Generation II. Several more Berries, found at the end of the listing, are extremely rare, with effects similar to items like X Attack. A majority of Berries, however, find their only use in being made into Pokéblocks for Contests. In the same way most Pokémon resemble real-world animals, these Berries typically resemble real-world fruit (though not all fruit represented are Berries, botanically or in common parlance, in real life). Descriptive tags detail some of their traits, much like a Pokédex entry, which are often shared with their real-world counterparts.Rather than regenerating at midnight and only producing one fruit, all Berries now have specific growth times – ranging from four hours to four days – and four stages of maturity which advance at quarters of the full maturity time. The Berries can be roughly grouped into sets with similar growth times, yields, flavors profiles, and uses. Berries may also be planted wherever there is soft soil now; a picked Berry plant now disappears, leaving behind soft soil, rather than staying fixed in the same spot forever. Item Notetags<hours per stage: x> Sets the number of hours for each growth stage<min yield: x> Sets the minimum number of items you cna get from a plant<max yield: x> Sets the maximum number of items you cna get from a plant<plural name: x> Sets the name for the item when the plant has more that 1<mulch type: x> Sets the type of mulch for the event1 = stays on the tree longer, more watering needed2 = falls off the tree faster, less watering needed3 = keeps the berries on the trees longer4 = berries regrow more times Script Callsset_mulch(type, id) Sets the mulch for the event to id the id of it’s type (:item, :weapon, or :armor)plant_berry(type, id) Sets the berry for the event to id the id of it’s typewater_berry Waters this eventprint_berry_state Display the berry state in a messageprint_tree_berries Displays the berries on the tree in a messagereset_berry Clears the berry data for this event Script Downloadhttp://crystalnoel42.wordpress.com/2014/06/24/crystal-engine-berries/ Share this post Link to post Share on other sites