I think there should be NPC Pigman Traders and guards. The NPC and guards move together and walk around Mountains and stuff. Guards can spawn with Gold Swords or Bows and arrows. Attacking the pigmen makes them all hostile. Killing the trader makes him drop all of his stuff.
Right clicking on the trader stops him moving and opens the trading window (The guards will defend you agains hostile mobs, unless they die)
If I added a Iron Bar (3) I would have 11, which is greater than the diamond (10), so he would accept it.
When you buy something your stuff is dropped (You can just pick it up) and the NPC's stuff goes to his inventory, unless his inventory is full. If it is full the stack with the lowest value is destroyed.
EG:
He has a stack of 64 Dirt (6.4) and gets a Diamond (10), so the Dirt stack is destroyed and replaced by the diamond. If he has a stack of 64 Dirt (6.4) and gets a Coal (3) the Coal is destroyed, dispite the fact that 1 Dirt is only 0.1.
Traders have 3-5 stacks of items of vareing value, with rarer stuff less common (Unlike Dungeon Chests, it will never return a stack of nothing)
There may also be a new itme, the Random Bag. It looks like a Bag with a '?' on it and when you right click you gain a random item. That item may be anything from a Stick to a Record (Records will be rare). Can only be bought from a trader (Cost is 7) or found in a Dungeon Chest.
I agree with this idea, but don't have them move around. This would be cool for SMP, but not so much for single player. In SMP, this would work, and the admin or mods could decide the prices for each item. Also make the npc invincible... there's no point in trading with him if you could just kill him and get all the items...
The guards sound like a good idea. You could maybe make them stand at a certain spot and guard something, and if a monster decides to walk by, they attack it. If another person walks by, they either warn them or ask them if they wish to enter.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumRight clicking on the trader stops him moving and opens the trading window (The guards will defend you agains hostile mobs, unless they die)
Here is what the trading window looks like:
[] [] [] [] [] [] [] [] [] (NPC's Inventory)
[] [] [] [] [] [] [] [] [] (NPC's Trading Window)
[ACCEPT BUTTON]
[] [] [] [] [] [] [] [] [] (Your Trading Window)
[] [] [] [] [] [] [] [] []
[] [] [] [] [] [] [] [] [] (Your Inventory)
[] [] [] [] [] [] [] [] []
[] [] [] [] [] [] [] [] [] (Your Toolbar)
All items are given a number. The rarer the item is, the higher the number. There may also be other factors
EG:
MOST BLOCKS = 0.1
Here is how it works:
If I wanted to trade 2 Torches and a Gold Bar for 1 Diamond I would set it up like this
[] [] [] [] [] [] [] [] []
[ACCEPT BUTTON]
[] [] [] [] [] [] [] [] []
[] [] [] [] [] [] [] [] [] (Your Inventory)
[] [] [] [] [] [] [] [] []
[] [] [] [] [] [] [] [] [] (Your Toolbar)
8 < 10 so he would decline it.
If I added a Iron Bar (3) I would have 11, which is greater than the diamond (10), so he would accept it.
When you buy something your stuff is dropped (You can just pick it up) and the NPC's stuff goes to his inventory, unless his inventory is full. If it is full the stack with the lowest value is destroyed.
EG:
He has a stack of 64 Dirt (6.4) and gets a Diamond (10), so the Dirt stack is destroyed and replaced by the diamond. If he has a stack of 64 Dirt (6.4) and gets a Coal (3) the Coal is destroyed, dispite the fact that 1 Dirt is only 0.1.
Traders have 3-5 stacks of items of vareing value, with rarer stuff less common (Unlike Dungeon Chests, it will never return a stack of nothing)
There may also be a new itme, the Random Bag. It looks like a Bag with a '?' on it and when you right click you gain a random item. That item may be anything from a Stick to a Record (Records will be rare). Can only be bought from a trader (Cost is 7) or found in a Dungeon Chest.
System.out.err("Nope");
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumDont explosions have a 70% chance to destroy items?
What about doing that for each item dropped?
System.out.err("Nope");
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumSystem.out.err("Nope");
The guards sound like a good idea. You could maybe make them stand at a certain spot and guard something, and if a monster decides to walk by, they attack it. If another person walks by, they either warn them or ask them if they wish to enter.