Topic: Fennec's Random Plant Mod  (Read 1743 times)


fennecfoxx

  • Member
  • *
  • Posts: 18
  • yeet
    • View Profile
« on: March 23, 2018, 10:06:07 PM »
(cross-posted from the old forum)

Hi all,

If you're tired of finding the same old plants in UrW - or if you'd just like to see some more variety - I've made a mod to add randomly-generated plants into the game.In addition to adding more wild plants, it also adds some other features:

New grains and vegetables grown in fields and sold in villages:


Poisonous plants that also have other effects (pretty pointless for plants poisonous in any form, but useful and interesting for plants that become edible when boiled):


Poisonous berries:


Herbs to help you reach spiritual enlightenment (okay, they're actually just drugs):


Medicinal mushrooms:


Additionally, all plants generated by this mod (except mushrooms and berries) provide seeds so you can grow them at your own settlement.

Download the JAR file (attached to this post) and double-click it to run it. It generates four .txt files, each of which start with "flora_mod". These four files should be in the same directory where you saved the JAR file. Move these files to the UrW directory where any other mod files would go, then have fun exploring a world full of new plants!

This mod simply adds more plants to the game, but it does generate enough to be a suitable replacement for the vanilla plants. If you do wish to replace the vanilla plant files entirely, start up the game, move the "flora_mod" files to the UrW directory, and remove all the existing files that BEGIN with "flora_". These default files will automatically re-appear each time the game is booted, but I would strongly recommend backing these up somewhere just in case something goes unexpectedly wrong. Also, since these files do re-appear when you boot up the game, you will have to remove them each time if you do want to remove all the vanilla plants.

Finally, for my fellow programming nerds here, I have included the source code within the src folder in the JAR file in case anyone wants to see my sloppy coding.

changelog:
- names of picked berries are now accurate
- mod should no longer generate plants that wither before they can be harvested
- mushrooms are now roughly as common as in vanilla
- beneficial berries and mushrooms are now somewhat more common
- program can now be run by double-clicking on it
- "Ok, done!" message appears as pop-up window
- should be compatible with all operating systems now

Known issues:
- plants with names containing "snap" trigger a sound effect when interacted with. this can be fixed by manually changing the name in the flora file.
- poisonous plants with additional effects may be mistakenly identified as edible before all effects are known. rare issue, but proceed with caution if "there's still more to learn".
- (issue encountered on Ubuntu 14.04) flora files appear in /home directory instead of the directory containing the JAR if run with OpenJDK Runtime. this issue does not occur when using WINE.

Puella14

  • Member
  • *
  • Posts: 20
    • View Profile
« Reply #1 on: April 29, 2018, 12:23:21 PM »
Could you post this in the mod-releases section of the forums? Would make it a lot easier to find :) I didn't even know you brought this mod over, till I saw the link in another post.

Edit: Yep, way better now :)
« Last Edit: May 06, 2018, 01:02:36 PM by Puella14 »

Daniel_USA

  • Member
  • *
  • Posts: 1
    • View Profile
« Reply #2 on: May 21, 2018, 10:24:48 PM »
the mod generated a plant called waterreed. it doesn't display correctly so i asked for help and was told to post here. i then redownloaded the mod and re-ran the java and replaced my text files only to find out that your files are randomly generated! will this break my game? because i don't have the text file for the stuff that was loading in the game? i loaded the game and i still own waterreed also i was given a  bunch of seeds what is going to happen now that i removed the text files for the plants? the game still has the stuff loaded though...

so my initial problem is that waterreed doesn't have an icon when dropped so it only displayed a blue blurry square.

Luminous

  • Member
  • *
  • Posts: 3
    • View Profile
« Reply #3 on: October 16, 2018, 06:45:14 PM »
Is there any planting guide for the modded plants?