Hi, I would like to create a pig breeding system on the server. Generally, the name of the pig will change from time to time, e.g.:
Monster name: Piglet [5kg]
Monster name: Weaned Piglet [25kg]
Monster name: Grower [50kg]
Monster name: Market Hog [100kg]
* We can sell pigs, and I would like to do this in such a way that there will be an appropriate ‘Pig Sell Rune’ and the sale currency will be set on the server. For example, I use ‘Pig Sell Rune’ on a pig, it disappears, and we get gold, e.g.: 100kg * 35 gold.
* Of course, there would be a system for feeding pigs, with feed and water, thanks to which the pigs would increase their weight in kilograms.
*Pigs will also sometimes get sick, e.g. diarrhoea, broken leg, and then such pigs will gain weight much more slowly. Such pigs must be treated with appropriate runes (so-called cattle vaccines, you have to use the rune on the sick pig every 24 hours to cure it, the treatment lasts three days lol
).
*Other players cannot kill your pigs on farms, only you can slaughter them.
*I would like it to be possible to move your pigs so that large pigs do not arrive with small ones, because a large pig can attack a small one... haha that's why I would like a pig sorting system. Pigs can be moved using the cursor.
*It would be cool if there was a ‘Pig Summoning Rune’ that summons 10-15 pigs in one place (the pig summoning rune will be expensive, but the sale of fattened pigs will return gold).
*It would be cool if pigs slept at night, with the words ‘zZZzZzzz’ appearing above them.
I wonder if LUA scripts are enough, or if C++ code needs to be implemented.
notes:
Piglet
Weight: 1–10 kg (2–22 lbs)
Weaned Pig
Weight: 10–30 kg (22–66 lbs)
Grower
Weight: 30–60 kg (66–132 lbs)
Market Hog:
Weight: 60–120 kg (132–265 lbs)
Monster name: Piglet [5kg]
Monster name: Weaned Piglet [25kg]
Monster name: Grower [50kg]
Monster name: Market Hog [100kg]
* We can sell pigs, and I would like to do this in such a way that there will be an appropriate ‘Pig Sell Rune’ and the sale currency will be set on the server. For example, I use ‘Pig Sell Rune’ on a pig, it disappears, and we get gold, e.g.: 100kg * 35 gold.
* Of course, there would be a system for feeding pigs, with feed and water, thanks to which the pigs would increase their weight in kilograms.
*Pigs will also sometimes get sick, e.g. diarrhoea, broken leg, and then such pigs will gain weight much more slowly. Such pigs must be treated with appropriate runes (so-called cattle vaccines, you have to use the rune on the sick pig every 24 hours to cure it, the treatment lasts three days lol
*Other players cannot kill your pigs on farms, only you can slaughter them.
*I would like it to be possible to move your pigs so that large pigs do not arrive with small ones, because a large pig can attack a small one... haha that's why I would like a pig sorting system. Pigs can be moved using the cursor.
*It would be cool if there was a ‘Pig Summoning Rune’ that summons 10-15 pigs in one place (the pig summoning rune will be expensive, but the sale of fattened pigs will return gold).
*It would be cool if pigs slept at night, with the words ‘zZZzZzzz’ appearing above them.
I wonder if LUA scripts are enough, or if C++ code needs to be implemented.
notes:
Piglet
Weight: 1–10 kg (2–22 lbs)
Weaned Pig
Weight: 10–30 kg (22–66 lbs)
Grower
Weight: 30–60 kg (66–132 lbs)
Market Hog:
Weight: 60–120 kg (132–265 lbs)