Fishmonger [Server Mod]

Coldie's server mods threads.
Post Reply
Coldie
Cart loader
Cart loader
Posts: 27
Joined: Sun Jul 26, 2020 3:14 am

Fishmonger [Server Mod]

Post by Coldie »

Fish Monger

Item GM can create and drop on the ground called Fishmonger.

Players bring their fish up to it and activate their fish then right click the Fishmonger and click Sell Fish.

New action on fish, have any item active and right click a fish and click Get Price, will print to event tab how much Fishmonger would pay for that fish.

Price is per kg and adjusted by properties file, also options in properties to change model of the Fishmonger.

Activate any container and get same action on fish monger, it will sell all fish directly inside that container, not inside another container inside that container.

Will spam event tab with sale of every item though.

Fishing net will now let you fish if it has fish already in the net but to a max value set in the properties file.

maxinnet = 50

If you don't like this feature you can just set that value to 2, it does the check when starting to fish with net, not as it is fishing.

Full disclosure, without that limit added you could literally have thousands of fish in the net, after many hours fishing. The game has no checks for weight or number of fish in net at all.

Also fixed the container selling of items to not spam event tab, just does total now.

[17:39:30] The Fishmonger puts 20 copper and 83 iron into your bank for selling 24 fish.

Download mod: https://1drv.ms/u/s!AjnBltNOSFjCgmfYBTPObME6skDD

User avatar
Kenabil
Soldier
Soldier
Posts: 87
Joined: Sun Jul 26, 2020 10:32 am
Location: Awakening
Contact:

Re: Fishmonger [Server Mod]

Post by Kenabil »


Jasonneeds
Cow rider
Cow rider
Posts: 1
Joined: Wed Oct 21, 2020 7:56 am
Location: Belarus
Contact:

Fishmonger Server Mod

Post by Jasonneeds »

Yes I know dazzle source code are public... but not this 0.50a version, and this code can be useful to other coder for update the core of the mod.

Post Reply