master
runs 2019-11-27 18:03:21 +01:00
parent 3310de6dd9
commit 5f0eaab9b7
50 changed files with 1648 additions and 131 deletions

View File

@ -39,7 +39,7 @@ petz.on_die = function(self)
--For all the mobs
local props = self.object:get_properties()
props.collisionbox[2] = props.collisionbox[1]
petz.set_properties(self, {collisionbox=props.collisionbox})
self.object:set_properties({collisionbox=props.collisionbox})
petz.drop_items(self)
mobkit.clear_queue_high(self)
if petz.pet[self.owner] then

1
petz/docs/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
_site

View File

@ -0,0 +1 @@
I"ð{"source"=>"/opt/minetest/games/bogart/mods/petz/petz/docs", "destination"=>"/opt/minetest/games/bogart/mods/petz/petz/docs/_site", "collections_dir"=>"", "cache_dir"=>".jekyll-cache", "plugins_dir"=>"_plugins", "layouts_dir"=>"_layouts", "data_dir"=>"_data", "includes_dir"=>"_includes", "collections"=>{"posts"=>{"output"=>true, "permalink"=>"/:categories/:year/:month/:day/:title:output_ext"}}, "safe"=>false, "include"=>[".htaccess"], "exclude"=>["README.md", ".sass-cache", ".jekyll-cache", "gemfiles", "Gemfile", "Gemfile.lock", "node_modules", "vendor/bundle/", "vendor/cache/", "vendor/gems/", "vendor/ruby/"], "keep_files"=>[".git", ".svn"], "encoding"=>"utf-8", "markdown_ext"=>"markdown,mkdown,mkdn,mkd,md", "strict_front_matter"=>false, "show_drafts"=>nil, "limit_posts"=>0, "future"=>false, "unpublished"=>false, "whitelist"=>[], "plugins"=>[], "markdown"=>"kramdown", "highlighter"=>"rouge", "lsi"=>false, "excerpt_separator"=>"\n\n", "incremental"=>false, "detach"=>false, "port"=>"4000", "host"=>"127.0.0.1", "baseurl"=>"", "show_dir_listing"=>false, "permalink"=>"date", "paginate_path"=>"/page:num", "timezone"=>nil, "quiet"=>false, "verbose"=>false, "defaults"=>[], "liquid"=>{"error_mode"=>"warn", "strict_filters"=>false, "strict_variables"=>false}, "kramdown"=>{"auto_ids"=>true, "toc_levels"=>"1..6", "entity_output"=>"as_char", "smart_quotes"=>"lsquo,rsquo,ldquo,rdquo", "input"=>"GFM", "hard_wrap"=>false, "guess_lang"=>true, "footnote_nr"=>1, "show_warnings"=>false}, "title"=>"Bogart Game", "tag_text"=>"Bogart Game", "description"=>"A responsive template for publishing single-page websites, articles that are easy on the eyes", "url"=>"http://localhost:4000", "font-awesome-include"=>true, "livereload_port"=>35729, "serving"=>true, "watch"=>true}:ET

View File

@ -0,0 +1,543 @@
I"­b<p><img src="images/petz_logo.png" alt="Logo" /></p>
<p><img src="images/petz_items.png" alt="Items" /></p>
<p>Are you tired of ugly mobs? Do you like the kawaii world and taste?
The PetZ are here now for you!</p>
<h3 id="mobs">Mobs</h3>
<h4 id="kitty">Kitty</h4>
<p><img src="images/kitty.png" alt="Kitty" /></p>
<ul>
<li>It avaliable in 6 colors.</li>
</ul>
<h4 id="puppy">Puppy</h4>
<p><img src="images/puppy.png" alt="Puppy" /></p>
<ul>
<li>3 colors.</li>
</ul>
<h4 id="duckies">Duckies</h4>
<p><img src="images/ducky.png" alt="Ducky" /></p>
<ul>
<li>Three types: Yellow, Black and Mallard.</li>
<li>Peaceful and dumb animal.</li>
<li>They can put duck eggs from time to time.You can tame it but not give it any order.</li>
<li>You can breed ducks creating a nest with an egg inside, optionally you can leave an empty nest near a ducky so it lay an egg.</li>
<li>It drops feathers when killed.</li>
<li>You can fry the eggs.</li>
<li>Fried egg and bacon: A fried egg plus a porkchop.</li>
</ul>
<h4 id="beaver">Beaver</h4>
<p><img src="images/beaver.png" alt="Beaver" />
Behaviour:</p>
<ul>
<li>It lives near water (in rivers in the case of valleys mapgen).</li>
<li>It can be tamed.</li>
<li>It can walk, swim and dive underwater.</li>
<li>It drops Beaver Fur to create Beaver Oil when killed.</li>
<li>It got a chance of create an unique dam on the coast or river.</li>
<li>You can spread beaver oil on your pet skin. In tamagochi mode your pet will be happy, but the fact of not do it it is not mandatory for it to be sad.</li>
</ul>
<h4 id="lamb">Lamb</h4>
<p><img src="images/lamb.png" alt="Lamb" />
In 3 colors: White (common), grey &amp; dark gray (rare) and brown (very rare).</p>
<ul>
<li>Lambs eat grass.</li>
<li>You can get Wool with the Shears (right click).</li>
<li>To wool to regrow feed your lamb or let it eats grass.</li>
<li>Lambs runaway from player, tame them with some wheat.</li>
<li>Predators: Wolf &amp; Lion.</li>
</ul>
<h4 id="lion">Lion</h4>
<p><img src="images/lion.png" alt="Lion" /></p>
<ul>
<li>It lives in the Savanna. Wild animal. Dangerous.</li>
<li>It likes raw meat.</li>
<li>Can be tamed and give it orders with meat or a Whip (3 lashings to tame)
In Tamagochi Mode:</li>
<li>You have to lash your lion in 48h or it lost affinitty with you.</li>
<li>Be careful, if you lost your lion as pet, it will attack you!</li>
<li>Preys: Lambs, piggies and ponies.</li>
</ul>
<h4 id="calf">Calf</h4>
<p><img src="images/calf.png" alt="Calf" /></p>
<ul>
<li>Available in three skins.</li>
<li>It eats grass from time to time, like the lambs.</li>
<li>It drops Leather when killed.</li>
<li>It can be milked with an empty bucket.</li>
<li>In order the calf to have more milk, you have to feed it or let it to eat some grass.</li>
<li>Milk is drinkable.</li>
<li>Put a bucket of milk in the oven to get Cheese.</li>
<li>Predators: Calf.</li>
</ul>
<h4 id="panda">Panda</h4>
<p><img src="images/panda.png" alt="Panda" /></p>
<ul>
<li>Panda is tamable and loves papyrus.</li>
</ul>
<h4 id="frog">Frog</h4>
<p><img src="images/frog.png" alt="Frog" /></p>
<ul>
<li>Frog is a semiaquatic animal. It loves fireflies to eat’em. It drops a leg that you can cook in order to get a Roasted Frog Leg (food).</li>
</ul>
<h4 id="grizzly">Grizzly</h4>
<p><img src="images/grizzly.png" alt="Grizzly" /></p>
<ul>
<li>Not a Teddy Bear, but a wild one. It lives in woods. It’s tamable like the lion.</li>
<li>Preys: Lamb.</li>
</ul>
<h4 id="pony">Pony</h4>
<p><img src="images/pony.png" alt="Pony" /></p>
<ul>
<li>You can mount it with a Saddle and get a ride.</li>
<li>You can give it orders.</li>
<li>The Saddle can be cut with the Shears.</li>
<li>Ponies are slow where you ride them. You can breeding them to get stronger and fastest ones.</li>
<li>Predators: Lion.</li>
</ul>
<h4 id="parrot">Parrot</h4>
<p><img src="images/parrot.png" alt="Parrot" /></p>
<ul>
<li>Five species.</li>
<li>Tamable and you can give it orders.</li>
<li>It loves wheat seeds.</li>
<li>It lives naturally in the jungle.</li>
<li>You can order it to alight and to fly again.</li>
<li>It can drop Raw Parrot meat which it can be cooked.</li>
<li>You can put your parrot on your shoulder (2 minutes max.).</li>
<li>You can put your parrot on a Bird Stand.</li>
</ul>
<h4 id="chicken">Chicken</h4>
<p><img src="images/chicken.png" alt="Chicken" /></p>
<ul>
<li>Farm Animal.</li>
<li>It can lay Chicken Eggs like the duckies.</li>
<li>It drops Raw Chicken to cook it as food.</li>
<li>Get Chicken Legs with Raw Chichen.</li>
<li>Put a lot of Roasted Chicken Legs into a bucket, to get a super-delicious bucket of Chicken Legs.</li>
</ul>
<h4 id="pigeon">Pigeon</h4>
<p><img src="images/pigeon.png" alt="Pigeon" /></p>
<ul>
<li>Flying bird.</li>
</ul>
<h4 id="chimp">Chimp</h4>
<p><img src="images/chimp.png" alt="Chimp" /></p>
<ul>
<li>Agile monkey.</li>
<li>Arboreal mob: It can climb trees, wood and leaves.</li>
<li>It loves blueberries.</li>
</ul>
<h4 id="piggy">Piggy</h4>
<p><img src="images/piggy.png" alt="Piggy" /></p>
<ul>
<li>It’s a source of meat.</li>
<li>It drops Porkchop to being cooked.</li>
<li>Predators: Lion.</li>
</ul>
<h4 id="turtle">Turtle</h4>
<p><img src="images/turtle.png" alt="Turtle" /></p>
<ul>
<li>Semiaquatic mob.</li>
<li>It eats kelps.</li>
<li>It has a chance of drop its shell.</li>
</ul>
<h4 id="fishes">Fishes</h4>
<p><img src="images/clownfish.png" alt="Clownfish" />
<img src="images/tropicalfish.png" alt="Tropical Fish" />
Clownfish &amp; Tropical Fish</p>
<ul>
<li>It lives close to a coral reef.</li>
<li>It loves orange coral (clownfish) or brown coral (tropical fish).</li>
<li>It can be captured and put into a fish tank.</li>
<li>It suffocates when outside water.</li>
<li>In tamagochi mode you have only to feed it, but no if it is in a fish tank.</li>
</ul>
<h4 id="wolf">Wolf</h4>
<p><img src="images/wolf.png" alt="Wolf" /></p>
<ul>
<li>Wild animal.</li>
<li>Run away from players til players attack them, then agressive.</li>
<li>Tamable in the same way as lion.</li>
<li>Preys: Lambs.</li>
<li>Wolves can be turned into puppies: Tame the wolf with a whip, then feed it with bones (until 5, configurable in petz.conf).</li>
</ul>
<h4 id="moth">Moth</h4>
<p><img src="images/chimp.png" alt="Moth" /></p>
<ul>
<li>It spawns only at night in the coniferous forest.</li>
<li>It dies when daylight comes, unless it would be in a dark place for protection, i.e. a cave or a closed box. It needs some obscurity, not a totally dark place.</li>
<li>A moth can be captured with an empty glass bottle. Deco item. If you break the bottle, the moth liberates.</li>
</ul>
<h4 id="silkworm">Silkworm</h4>
<p><img src="images/silkworm.png" alt="Silkworm" /></p>
<ul>
<li>It spawn naturally on coniferous forests.</li>
<li>It eats all kind of leaves.</li>
<li>You can produce Silk (see below).</li>
</ul>
<h4 id="camel">Camel</h4>
<p><img src="images/camel.png" alt="Camel" /></p>
<ul>
<li>It lives in deserts.</li>
<li>It eats dry shrub.</li>
<li>Predator: Lion</li>
<li>Milkable.</li>
<li>You can breed them. Baby camels. Genetics. Mutation: White Camel.</li>
<li>Mountable with a saddle; Get a ride in the desert!</li>
<li>You can put a Saddlebag on it (right click): You gain access to the Saddlebag Inventory (16 items máx.), in the form -&gt; click on the icon of the Saddlebag.</li>
<li>Each camel has its own separated saddlebag inventory.</li>
<li>The inventory of the saddlebag is permanent. You got it even after server restarts.</li>
<li>If the camel died, the inventory of the saddlebag will drop.</li>
<li>If you captured a camel, the saddlebag with the inventory too.</li>
<li>You can put together the saddle and the saddlebag. But on right click you will mount it. To access to the inventory of the saddlebag use the shears to quit both items. Then put a saddlebag only.</li>
</ul>
<h4 id="bat">Bat</h4>
<p><img src="images/bat.png" alt="Bat" /></p>
<ul>
<li>Spawn in interiors (caves)</li>
<li>If spawned outside, only at night, and when sunrise dies.</li>
<li>It eats and follows fireflies.</li>
</ul>
<h4 id="hamster">Hamster</h4>
<p><img src="images/hamster.png" alt="Hamster" /></p>
<ul>
<li>It lives in deserts.</li>
<li>6 colors.</li>
<li>Breed them.</li>
<li>Mutation: Pink Hamster.</li>
</ul>
<h4 id="dolphin">Dolphin</h4>
<p><img src="images/dolphin.png" alt="Dolphin" /></p>
<ul>
<li>It lives in oceans.</li>
</ul>
<h4 id="toucan">Toucan</h4>
<p><img src="images/toucan.png" alt="Toucan" />
-It lives in the jungle.
-It eats apples.
-Tamable. You can put it in a bird stand.</p>
<h4 id="bee">Bee</h4>
<p><img src="images/bee.png" alt="Bee" /></p>
<ul>
<li>Flying insect.</li>
<li>It lives in behives and stays close to them.</li>
<li>It produces honey. It searches for flowers to get the pollen and then return to the behive.</li>
<li>Two types: Queen and workers (normal).</li>
<li>All the bees return to their behive at night and go out at the morning, except the Queen Bee that can fly 24 hours.</li>
<li>All the bees need belong to a behive. If their behive is destroyed, all the bees will die. Only the Queen Bees do not need a behive to survive.</li>
<li>Worker Bees do not spawn naturally.</li>
<li>Queen Bees can spawn and create one colony (behive) in wood or leaves.</li>
<li>Bees can drop pollen and/or a sting.</li>
</ul>
<h3 id="things-you-can-with-petz">Things you can with Petz</h3>
<ul>
<li>Configure the models as “meshâ€<C3A2> (by default) or “cubicâ€<C3A2> (nodebox, no animated, no too laggy) via the ‘petz.conf’</li>
<li>Configure the mob API: Only “mobs_redoâ€<C3A2> by now via ‘petz.conf’.</li>
<li>Configure the following food (aka food to health) it via ‘petz.conf’. Use right click.</li>
<li>Give it orders: follow you or stand: Right click if you are the owner.</li>
<li>Configure if they spawn in the map via ‘petz.conf’.</li>
<li>Your pet can be tamed and captured.</li>
<li>Internationalization support.</li>
<li>Spawn Eggs.</li>
</ul>
<p>NodeboxEditor (.nbe) and Blender (.blend) models included.</p>
<h3 id="licenses">Licenses</h3>
<ul>
<li>Models, icons and textures by runs. GPL3 Feel free to use it.</li>
<li>Sounds: Check the ‘license.md’ file inside the ‘sounds’ folder.</li>
</ul>
<h3 id="depends">Depends</h3>
<p>default, mobs, stairs, dye, vessels, wool</p>
<h3 id="optional">Optional</h3>
<p>bonemeal</p>
<h3 id="tamagochi-mode">Tamagochi Mode</h3>
<p>If this mode is activated (true by default) you have to take care of your pet. The pet will have two stats: Love and Hunger. If those stats go down to 0, your pet abandon you or will starve.</p>
<p>In multiplayer games (servers) the Tamagochi Mode is paused if the pet owner is offline.</p>
<h4 id="feed-it">Feed it!</h4>
<p>-You have to feed your pet once each 2 days at least (Minetest time) (right click wielding its food) (the food is configurable via petz.conf). Your pet then would be happy. Check your pet status (right click), if “Hungryâ€<C3A2> feed it, but if ‘Satiated’ then don’t bother. If you do not feed your pet every 48 hours, its health would damaged and it would be sad.
This does not apply if your pet is inside its kennel.</p>
<h4 id="brush-it">Brush it!</h4>
<p><img src="images/brush.png" alt="Brush" />
You have to brush your pet once each 2 days at least, or it will be sad. Firstly create a hairbrush with two wood sticks and one string.
This does not apply if your pet is inside its kennel.</p>
<h4 id="lash-it">Lash it!</h4>
<p><img src="images/lash.png" alt="Lash" />
In the case of a lion or grizzly, you have to lash it with a whip once each 2 days at least in order to control it.
Do not use the whip with another petz!</p>
<h4 id="polish-it">Polish it!</h4>
<p><img src="images/beaver_oil.png" alt="Beaver Oil" />
You can spread beaver oil on your pet skin. In tamagochi mode your pet will be happy, but the fact of not do it it is not mandatory for it to be sad.</p>
<p>Also keep in mind that:</p>
<ul>
<li>If you don’t feed your pet in 8 days will die (configurable).</li>
<li>If you punch your pet, it gets unhappy.</li>
<li>If your pet is unhappy, it could abandon you.</li>
<li>If your pet is inside its kennel, it’ll be well cared for and happy and won’t starve. But close the door!</li>
</ul>
<p>Notes</p>
<ul>
<li>You can configure the time when your pet is checked in ‘pet.conf’. 2400 by default (2 days).</li>
<li>In a singleplayer game the pet stats remain intact between restarts.</li>
<li>You can configure the node over where your pet is safe (no hunger) in ‘pet.conf’. So you can do your our kennels.</li>
<li>The Tamagochi Mode is paused for pet owners in multiplayer games (servers) when they are offline.</li>
</ul>
<h3 id="pet-bowl">Pet Bowl</h3>
<p><img src="images/pet_bowl.png" alt="Pet Bowl" />
Make a house to your pet and put a Pet Bowl. The pet will stand near it.</p>
<h3 id="kennel">Kennel</h3>
<p><img src="images/kennel.png" alt="Kennel" />
A schematic. Simply make a hole and punch inside it. You can put your pet inside after capture it. For creative mode only.
In there your dog will be well cared for and you won’t have to worry about its health.</p>
<h3 id="duckschicken-farm">Ducks/Chicken Farm</h3>
<p><img src="images/duck_chicken_farm.png" alt="Ducks/Chicken Farm" />
You can breed ducks or chickens via its eggs:</p>
<ul>
<li>Create a empty nest and put an egg inside (right click), optionally you can create a nest with an already egg inside. Await for the egg to hatch into a new ducky or chicken.</li>
<li>Also if a ducky or chicken has an empty nest near, it can lay an egg on it.</li>
<li>You can extract the egg from a nest (right-click on the nest).</li>
</ul>
<h3 id="capture-petz">Capture Petz</h3>
<p>Use the followig items to capture a petz:</p>
<ul>
<li>MobsRedo Net and Default Bug Net for Frog, Chicken, Kitty, Parrot, Pigeon, Ducky, Beaver, Clownfish, Monkey and Turtle.</li>
<li>MobsRedo Lasso for Calf, Lion, Puppy, Piggy, Lamb, Panda, Grizzly and Pony.</li>
</ul>
<h3 id="capture-mechanics">Capture Mechanics:</h3>
<ul>
<li>To capture a pet (i.e. kitty) you have to own it. But to to capture a no pet (i.e. frog) you can capture it directely.</li>
<li>To own a pet you have to tame it.</li>
<li>To tame a pet you have to feed it with its favourite food 5 times. Or lash it in the case of the lion and grizzly.</li>
<li>You cannot capture the pets of other players by default. To allow to rob pets change the setting ‘rob_mobs’ in ‘petz.confâ€<C3A2> file.</li>
</ul>
<h3 id="beaver-dam">Beaver Dam</h3>
<p><img src="images/beaver_dam.png" alt="Beaver Dam" />
The beaver’s home</p>
<h3 id="fish-tank">Fish Tank</h3>
<p><img src="images/fish_tank.png" alt="Fish Tank" /></p>
<ul>
<li>Put your fish inside (right-click)</li>
<li>Recover your fish with the Bug Net (right click) or breaking it.</li>
<li>You can connect several fish tank nodes to build bigger tanks and add more fishes (one by node).</li>
</ul>
<h3 id="ponycamel-breeding">Pony/camel Breeding</h3>
<p><img src="images/baby_pony.png" alt="Baby Pony" /><img src="images/pony_breeding.png" alt="Pony Breeding" /></p>
<ul>
<li>Ponies/camels can be male or female. Check its gender right clicking on them.</li>
<li>Each animal has its own velocity forward, velocity backward and acceleration. You can read its characteristics with the format “1/1/1â€<C3A2> where the numbers represent these 3 characteristics.</li>
<li>Create a Glass Syringe.</li>
<li>Use (right-click) the syringe on a male animal to get its germ.</li>
<li>Use (right-click) the syringe with germ on a female animal. The animal will be pregnant.</li>
<li>Right click on a pregnant female animal to check its pregnancy status.</li>
<li>After 2 days (configurable) a little baby will born with a mixture of gens, from its father and its mother.</li>
<li>Baby ponies/camels cannot be ridered.</li>
<li>After 2 days (configurable) the baby will get to adult.</li>
<li>You should select the best parent ponies to get better descendency (fastest ponies/camels) when breeding.</li>
<li>You can breed any animal even if you do not own it. But the owner of the babies will be the mother’s owner.</li>
<li>The male germ is unlimited but a female pony/camel only can give birth 5 babies máx. After those 5 babies, the mommy turn into infertile.</li>
</ul>
<h4 id="the-method-of-breeding">The method of breeding</h4>
<ul>
<li>1/2/3 means a velocity of 1 for forward, 2 for backward and 3 is the acceleration. So the first number of the triad is the most important.</li>
<li>Naturally spawned ponies/camels have speed statistics from 1/1/1 to 4/4/4. This means that spawned ponies/camels are slow animals (40% of the speed limit in the best case).</li>
<li>The hypothetical faster pony would be a 10/10/10. You have to breed the natural ponies/camels to achieve faster ones.</li>
<li>Keep in mind that even fast parents can procreate a slow child. So you’ll have to breed several times to get an optimal child.</li>
<li>The method is to breed parents with high speed statistics to get the best descendants, then select the fastest descendants to continue breeding them. This is a very slow process. Be patient.</li>
</ul>
<h3 id="square-ball">Square Ball</h3>
<p><img src="images/squareball.png" alt="Square Ball" /></p>
<ul>
<li>Make a Square Ball.</li>
<li>Throw it to your puppy. You have to hit the target.</li>
<li>Your puppy bring back the square ball to you.</li>
<li>To get the ball, right click on it.</li>
</ul>
<h3 id="recipes">Recipes</h3>
<p><img src="images/recipes.png" alt="Recipes" /></p>
<ul>
<li>Blueberry Cheese Cake = Blueberries, wheat, cheese and egg.</li>
<li>Blueberry Ice Cream: Blueberries, wheat, milk, 2 eggs and 2 snows = 3 ice creams.</li>
<li>Blueberry Muffin: Blueberries, 2 wheat, milk, 2 eggs and paper = 8 muffins.</li>
</ul>
<h3 id="lamb-hamster-panda-and-elephant-breed">Lamb, Hamster, Panda and Elephant Breed</h3>
<p>You can get baby lambs, hamsters and elefants.
1) Those petz could be male/female. Right-click on them to check its gender.
2) Get blueberries. (configurable in petz.conf)
3) Use (right-click) blueberries with the petz to heat them.
4) When a rut male petz found a oestrus female (close), she get pregnant.
5) Affer one day a baby will born.
6) Genetics: The baby will inherit the color from its parents. From dominant to recessive genes: white, gray, dark gray and brown in the case of lambs. This means: white color is the most common, parents both white could have a child of any color, if both brown all their descendants will be brown, etc.
6) The little petz will grown in one day.</p>
<h4 id="mutation-vanilla-lamb--white-elephant">Mutation! Vanilla lamb | White Elephant!</h4>
<p><img src="images/mutation.png" alt="Mutation" />
Also petz can suffer from a very rare mutation in its genes when spawn or breed, in a 1:200 ratio.</p>
<ul>
<li>You can get a Vanilla Lamb and ‘vanilla wool’ new item.</li>
<li>You can get a white elephant.</li>
</ul>
<h3 id="dreamcatcher">Dreamcatcher</h3>
<p><img src="images/dreamcatcher.png" alt="Dreamcatcher" />
Dreamcatcher amulet for your petz! Protect them!</p>
<ul>
<li>Craftable with: wood, strings and ducky feathers.</li>
<li>To put it: Right click with it on a pet you own.</li>
<li>Now your pet will be protected against other players attacks. But you can still hurt it.</li>
<li>To remove the Dreamcatcher from your pet: Right click on your pet and click on the Dreamcatcher image. Another option is to kill your pet, it will drop the dreamcatcher.</li>
</ul>
<h3 id="whistle">Whistle</h3>
<p><img src="images/whistle.png" alt="Whistle" />
Call your petz anywhere it is.</p>
<ul>
<li>Put names to pets you want to call.</li>
<li>Use a Whistle: A list of pets with name and of your own will appear.</li>
<li>Click on the pet to call it.</li>
</ul>
<h3 id="orders">Orders</h3>
<p>You can give orders to tamed petz.</p>
<ul>
<li>Stand here: It stands fixed at the current pos.</li>
<li>Follow: It will follow you.</li>
<li>Guard: Wild animals (lion &amp; grizzly) will attack any player close them, but not you.</li>
<li>Fly, Alight: For birds.</li>
</ul>
<h3 id="bird-stand">Bird Stand</h3>
<p><img src="images/birdstand_item.png" alt="Birstand Item" />
<img src="images/birdstand.png" alt="Birstand" /></p>
<ul>
<li>Capture your parrot with the Bug Net.</li>
<li>Put it on the bird stand (right-click)</li>
</ul>
<h3 id="barn">Barn</h3>
<p><img src="images/barn.png" alt="Barn" />
Do create livestocks with the aid of fences.</p>
<h3 id="silk-farm">Silk Farm</h3>
<p><img src="images/silk_stuff.png" alt="Silk Stuff" /></p>
<ul>
<li>You can get cocoons. A cocoon is silk indeed.</li>
<li>Also you can capture or breed moths/silkworns to make a Silk Farm.</li>
<li>Create a closed facility. Create a bed of leaves. Put inside some moths and/or silkworms. The moths will lay eggs and silkworms will turn into cocoons (be care: they will eat the leaves too).</li>
</ul>
<h4 id="spinning-wheel">Spinning Wheel</h4>
<p><img src="images/spiniing_wheel.png" alt="Spinning Wheel" /></p>
<ul>
<li>Create a Spinning Wheel to get Silk Bobbins. Its a one node size item, so put on a node-table.</li>
</ul>
<p>Instructions to craft a Spinnig Wheel:</p>
<ul>
<li>A previous bobbin has to be created by hand (3 sticks and 6 silkworm coccons)</li>
<li>You have to note that making bobbins by hand is more expensive (the double) than in the spinning wheel.</li>
<li>The first time your place a Spinning Wheel, that bobbin is already incorporated, only you have to add two more.</li>
</ul>
<p>Instructions to use:</p>
<ul>
<li>You need to put in the Spinning Wheel (right-click) 3 Silkworns Cocoons. Then a Silk Bobbin will be created. Right-click again to get the bobbin.</li>
</ul>
<h4 id="prince-armor">Prince Armor</h4>
<p><img src="images/prince_armor_stuff.png" alt="Prince Armor Stuff" />
<img src="images/prince_armor.png" alt="Prince Armor" /></p>
<ul>
<li>It requires the 3D Armor mod!</li>
<li>You can create a super expensive and exquisite Prince Armor thanks to silk.</li>
</ul>
<h3 id="honey-farm">Honey Farm</h3>
<p><img src="images/honey_stuff.png" alt="Honey Stuff" /></p>
<ul>
<li>The limit of honey by behive is 10 (max_honey_behive setting in petz.conf).</li>
<li>You can collect honey from a behive with an empty bottle (right click).</li>
<li>You can eat the honey. Honey is very powerful in order to recover your health.</li>
<li>Each behive contains three bees (max_bees_behive in petz.conf). A artificially created behive only one.</li>
<li>Bees go out the behive to get pollen, but only if the honey in their behive is below 10. Then they return to their behive to create honey.</li>
<li>If you destroy a behive all their bees will die. Six honeycomb will be dropped.</li>
<li>You can create a behive with 6 honeycombs and one captured worker bee.</li>
<li>Player created behives only will have one bee when placed. But you can add more captured bees to a behive (right click) till the limit. Be care: If you put manually a new bee on a behive and the limit is reached, a bee that would be out when come back will die when entering the behive, in order the limit being respected.</li>
<li>If you put an igniter or a torch below a behive (til 4 nodes), the bees inside will go out.</li>
<li>You can get Beeswax cooking Honeycombs.</li>
<li>You can get Beeswax Candles crafting Beewax with a string.</li>
<li>Trick: Put some flowers surrounding the behive to start the production of honey.</li>
<li>Trick: Point to a behive to known its statistics about the honey and bees (currently inside).</li>
</ul>
<p>Note: Take into account that if there are flowers close the behive a bee will go to them to collect pollen and inmediatelly will return back to the behive. If you want to see bees flying surrounding the behive, the behive should be full of honey so the bees can go for a walk far away. Also bees remain inside the behive at night.</p>
<h4 id="settings">Settings</h4>
<ul>
<li>Max honey by behive.
max_honey_behive = 10 (by default)</li>
<li>Max bees in a behive.
max_bees_behive = 3 (by default)</li>
<li>Outing rate: A “bee_outing_ratio=1â€<C3A2> means that a bee inmediatelly go out the behive for pollen
bee_outing_ratio = 20 (by default)
Note: Take into account that if there are flowers close the behive a bee will go to them to collect pollen and inmediatelly will return back to the behive. If you want to see bees flying surrounding the behive, the behive should be full of honey so the bees can go for a walk far away. Also bees remain inside the behive at night.</li>
<li>Initial honey behive: It indicates the initial honey amount on a created behive.
initial_honey_behive = 3 (by default)</li>
</ul>
<h3 id="bonemeal">Bonemeal</h3>
<ul>
<li>Install the bonemeal mod and convert your petz bones into fertilizer to grown plants faster.</li>
</ul>
:ET

View File

@ -0,0 +1,25 @@
I"3<h2 id="a-minecraft-style-game-do-construct-with-blocks-play-online-fun">A Minecraft style game. Do construct with blocks. Play online. Fun!</h2>
<ul>
<li>An open world to interact to.</li>
<li>Game modes: Creative &amp; Survival.</li>
<li>Make your dreamed constructions.</li>
<li>Farming.</li>
<li>Animals to tame &amp; monsters to kill.</li>
<li>Play online through servers around the whole world.</li>
<li>License: LGPL 2.1+. Share the game with your friends/family and do not care about licenses!</li>
<li>Engine: Minetest</li>
<li>Languages: English/Spanish/Plus other.</li>
<li>Platforms: Windows/Linux/Android</li>
</ul>
<h3 id="download">Download</h3>
<ul class="fa-ul">
<li><i class="fa-li fa fa-download"></i></li>
</ul>
<h3 id="mods">Mods</h3>
<p><a href="petz.html">Petz</a></p>
:ET

7
petz/docs/404.html Normal file
View File

@ -0,0 +1,7 @@
---
layout: default
---
## No such thing as that, sorry
Page Not Found.

21
petz/docs/LICENSE Normal file
View File

@ -0,0 +1,21 @@
The MIT License (MIT)
Copyright (c) 2015 Shu Uesugi
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

5
petz/docs/README.md Normal file
View File

@ -0,0 +1,5 @@
This is as Jekyll theme built to make single page websites, articles, or literary masterpieces readable anywhere.
### [Demo and Documentation](https://adueck.github.io/good-clean-read)
Built on top of <a href="http://chibicode.github.io/solo">Solo</a>, by [Shu Uesugi](https://github.com/chibicode)

13
petz/docs/_config.yml Normal file
View File

@ -0,0 +1,13 @@
# Site settings
title: Bogart Game
tag_text: Bogart Game
description: A responsive template for publishing single-page websites, articles that are easy on the eyes
url: "http://127.0.0.1:4000"
baseurl: ""
font-awesome-include: true # make this false if you don't need font-awesome
# Build settings
markdown: kramdown
exclude: ["README.md"]

View File

@ -0,0 +1,49 @@
<div style="margin-bottom: 1em;">
<ul class="rrssb-buttons rrssb-1">
<li class="rrssb-email">
<!-- Replace subject with your message using URL Endocding: http://meyerweb.com/eric/tools/dencoder/ -->
<a href="mailto:">
<span class="rrssb-icon"><svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 28 28"><path d="M20.11 26.147c-2.335 1.05-4.36 1.4-7.124 1.4C6.524 27.548.84 22.916.84 15.284.84 7.343 6.602.45 15.4.45c6.854 0 11.8 4.7 11.8 11.252 0 5.684-3.193 9.265-7.398 9.3-1.83 0-3.153-.934-3.347-2.997h-.077c-1.208 1.986-2.96 2.997-5.023 2.997-2.532 0-4.36-1.868-4.36-5.062 0-4.75 3.503-9.07 9.11-9.07 1.713 0 3.7.4 4.6.972l-1.17 7.203c-.387 2.298-.115 3.3 1 3.4 1.674 0 3.774-2.102 3.774-6.58 0-5.06-3.27-8.994-9.304-8.994C9.05 2.87 3.83 7.545 3.83 14.97c0 6.5 4.2 10.2 10 10.202 1.987 0 4.09-.43 5.647-1.245l.634 2.22zM16.647 10.1c-.31-.078-.7-.155-1.207-.155-2.572 0-4.596 2.53-4.596 5.53 0 1.5.7 2.4 1.9 2.4 1.44 0 2.96-1.83 3.31-4.088l.592-3.72z"/></svg></span>
<span class="rrssb-text">email</span>
</a>
</li>
<li class="rrssb-facebook">
<!-- Replace with your URL. For best results, make sure you page has the proper FB Open Graph tags in header:
https://developers.facebook.com/docs/opengraph/howtos/maximizing-distribution-media-content/ -->
<a href="https://www.facebook.com/sharer/sharer.php?u=" class="popup">
<span class="rrssb-icon"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 29 29"><path d="M26.4 0H2.6C1.714 0 0 1.715 0 2.6v23.8c0 .884 1.715 2.6 2.6 2.6h12.393V17.988h-3.996v-3.98h3.997v-3.062c0-3.746 2.835-5.97 6.177-5.97 1.6 0 2.444.173 2.845.226v3.792H21.18c-1.817 0-2.156.9-2.156 2.168v2.847h5.045l-.66 3.978h-4.386V29H26.4c.884 0 2.6-1.716 2.6-2.6V2.6c0-.885-1.716-2.6-2.6-2.6z"/></svg></span>
<span class="rrssb-text">facebook</span>
</a>
</li>
<li class="rrssb-twitter">
<!-- Replace href with your Meta and URL information -->
<a href="https://twitter.com/intent/tweet?text="
class="popup">
<span class="rrssb-icon">
<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 28 28">
<path d="M24.253 8.756C24.69 17.08 18.297 24.182 9.97 24.62c-3.122.162-6.22-.646-8.86-2.32 2.702.18 5.375-.648 7.507-2.32-2.072-.248-3.818-1.662-4.49-3.64.802.13 1.62.077 2.4-.154-2.482-.466-4.312-2.586-4.412-5.11.688.276 1.426.408 2.168.387-2.135-1.65-2.73-4.62-1.394-6.965C5.574 7.816 9.54 9.84 13.802 10.07c-.842-2.738.694-5.64 3.434-6.48 2.018-.624 4.212.043 5.546 1.682 1.186-.213 2.318-.662 3.33-1.317-.386 1.256-1.248 2.312-2.4 2.942 1.048-.106 2.07-.394 3.02-.85-.458 1.182-1.343 2.15-2.48 2.71z"
/>
</svg>
</span>
<span class="rrssb-text">twitter</span>
</a>
</li>
<li class="rrssb-linkedin">
<!-- Replace href with your meta and URL information -->
<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=" class="popup">
<span class="rrssb-icon"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28"><path d="M25.424 15.887v8.447h-4.896v-7.882c0-1.98-.71-3.33-2.48-3.33-1.354 0-2.158.91-2.514 1.802-.13.315-.162.753-.162 1.194v8.216h-4.9s.067-13.35 0-14.73h4.9v2.087c-.01.017-.023.033-.033.05h.032v-.05c.65-1.002 1.812-2.435 4.414-2.435 3.222 0 5.638 2.106 5.638 6.632zM5.348 2.5c-1.676 0-2.772 1.093-2.772 2.54 0 1.42 1.066 2.538 2.717 2.546h.032c1.71 0 2.77-1.132 2.77-2.546C8.056 3.593 7.02 2.5 5.344 2.5h.005zm-2.48 21.834h4.896V9.604H2.867v14.73z"/></svg></span>
<span class="rrssb-text">linkedin</span>
</a>
</li>
<li class="rrssb-googleplus">
<a href="https://plus.google.com/share?url=" class="popup">
<span class="rrssb-icon">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21 8.29h-1.95v2.6h-2.6v1.82h2.6v2.6H21v-2.6h2.6v-1.885H21V8.29zM7.614 10.306v2.925h3.9c-.26 1.69-1.755 2.925-3.9 2.925-2.34 0-4.29-2.016-4.29-4.354s1.885-4.353 4.29-4.353c1.104 0 2.014.326 2.794 1.105l2.08-2.08c-1.3-1.17-2.924-1.883-4.874-1.883C3.65 4.586.4 7.835.4 11.8s3.25 7.212 7.214 7.212c4.224 0 6.953-2.988 6.953-7.082 0-.52-.065-1.104-.13-1.624H7.614z"/></svg> </span>
<span class="rrssb-text">google+</span>
</a>
</li>
</ul>
</div>

View File

@ -0,0 +1,27 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="{{ site.description }}">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{ site.title }}</title>
<link rel="stylesheet" href="{{ site.baseurl }}css/normalize.css">
<link rel="stylesheet" href="{{ site.baseurl }}css/solo.css">
<link rel="stylesheet" href="{{ site.baseurl }}css/syntax.css">
{% if site.font-awesome-include %}<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">{% endif %}
<link rel="stylesheet" href="{{ site.baseurl }}css/rrssb.css">
<script src="{{ site.baseurl }}scripts/jquery.js"></script>
<link rel="canonical" href="{{ site.url }}" />
</head>
<body>
<article>
<div class="container">
<h1><a href="./">{{ site.tag_text }}</a></h1>
{{ content }}
</div>
</article>
<script src="{{ site.baseurl }}scripts/rrssb.min.js"></script>
</body>
</html>

View File

@ -0,0 +1,22 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{ site.title }}</title>
<link rel="stylesheet" href="../css/normalize.css">
<link rel="stylesheet" href="../css/solo.css">
</head>
<body>
<article>
<div class="container">
<h3>{{ page.title }}</h3>
{{ content }}
</div>
</article>
</body>
</html>

View File

@ -1,74 +0,0 @@
An example to add a petz: mouse
1. Edit the 'petz.conf' file
- Open petz.conf and add your petz to the end of the 'petz_list'.
You have to add a comma and 'mouse'.
Warning: Do not put blank spaces.
- In the 'Spawn Mobs?' section:
Add the following line at the end:
mouse_spawn = true
- In the 'Specific Settings for Mobs' section:
Add at the end the following:
##Mouse Specific
#To follow/tame and breed:
mouse_follow = petz:cheese
mouse_spawn_chance = 0.6
mouse_spawn_nodes = default:dirt_with_grass
mouse_predators = petz:kitty
#change here if you want it to spawn only at a one biome
#or leave 'default' for all the biomes:
mouse_spawn_biome = default
- As you defined kitty as the mouse predator, now you have to define mouse as prey in its settings.
Add (or edit if existed) the following line to "Kitty Specific":
kitty_preys = petz:mouse
2. Create a petz file where the petz will be defined.
But it is better to take an old already created one as template.
The better for mouse is piggy: no tamagochi, no orders.
Open 'piggy_mobkit.lua' and save as 'mouse_mobkit.lua'
3. Edit the 'mouse_mobkit.lua'.
- Firstly you have to replace all the 'piggy' coincidences to 'mouse'
With the aid of you text editor replace:
piggy -> mouse
Piggy -> Mouse
PIGGY -> MOUSE
- Edit the petz charateristics as you like:
- scale_model, mesh, textures, collisionbox, etc.
4. Save the 'mouse_mobkit.lua'
5. ¡DONE!
###Extra
####If you have to create a bird use 'parrot_mobkit.lua' as template.
####If you want to create a domestic pet use 'kitty_mobkit.lua' as template.
####If you want to create a wild animal use 'lion_mobkit.lua' as template.
###Tamagochi mode
If you can your mouse with this mode add/edit:
init_tamagochi_timer = false,
####Spawn
There is a set of spawn settings you could kie to add to the 'minetest.register_entity' definition:
spawn_at_night = true, --only spawns at night
die_at_daylight = false, --it dies at dawn
min_height = 0, --min height to spawn (0= sea level)
max_height = 30, --max height to spawn (0= sea level)
min_daylight_level = 0, --min light to spawn (min 0)
max_daylight_level = 8, --max light to spawn (max 15)

406
petz/docs/css/normalize.css vendored Normal file
View File

@ -0,0 +1,406 @@
/*! normalize.css v2.1.3 | MIT License | git.io/normalize */
/* ==========================================================================
HTML5 display definitions
========================================================================== */
/**
* Correct `block` display not defined in IE 8/9.
*/
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
display: block;
}
/**
* Correct `inline-block` display not defined in IE 8/9.
*/
audio,
canvas,
video {
display: inline-block;
}
/**
* Prevent modern browsers from displaying `audio` without controls.
* Remove excess height in iOS 5 devices.
*/
audio:not([controls]) {
display: none;
height: 0;
}
/**
* Address `[hidden]` styling not present in IE 8/9.
* Hide the `template` element in IE, Safari, and Firefox < 22.
*/
[hidden],
template {
display: none;
}
/* ==========================================================================
Base
========================================================================== */
/**
* 1. Set default font family to sans-serif.
* 2. Prevent iOS text size adjust after orientation change, without disabling
* user zoom.
*/
html {
font-family: sans-serif; /* 1 */
-ms-text-size-adjust: 100%; /* 2 */
-webkit-text-size-adjust: 100%; /* 2 */
}
/**
* Remove default margin.
*/
body {
margin: 0;
}
/* ==========================================================================
Links
========================================================================== */
/**
* Remove the gray background color from active links in IE 10.
*/
a {
background: transparent;
}
/**
* Address `outline` inconsistency between Chrome and other browsers.
*/
a:focus {
outline: thin dotted;
}
/**
* Improve readability when focused and also mouse hovered in all browsers.
*/
a:active,
a:hover {
outline: 0;
}
/* ==========================================================================
Typography
========================================================================== */
/**
* Address variable `h1` font-size and margin within `section` and `article`
* contexts in Firefox 4+, Safari 5, and Chrome.
*/
h1 {
font-size: 2em;
margin: 0.67em 0;
}
/**
* Address styling not present in IE 8/9, Safari 5, and Chrome.
*/
abbr[title] {
border-bottom: 1px dotted;
}
/**
* Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
*/
b,
strong {
font-weight: bold;
}
/**
* Address styling not present in Safari 5 and Chrome.
*/
dfn {
font-style: italic;
}
/**
* Address differences between Firefox and other browsers.
*/
hr {
-moz-box-sizing: content-box;
box-sizing: content-box;
height: 0;
}
/**
* Address styling not present in IE 8/9.
*/
mark {
background: #ff0;
color: #000;
}
/**
* Correct font family set oddly in Safari 5 and Chrome.
*/
code,
kbd,
pre,
samp {
font-family: monospace, serif;
font-size: 1em;
}
/**
* Improve readability of pre-formatted text in all browsers.
*/
pre {
white-space: pre-wrap;
}
/**
* Set consistent quote types.
*/
q {
quotes: "\201C" "\201D" "\2018" "\2019";
}
/**
* Address inconsistent and variable font size in all browsers.
*/
small {
font-size: 80%;
}
/**
* Prevent `sub` and `sup` affecting `line-height` in all browsers.
*/
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sup {
top: -0.5em;
}
sub {
bottom: -0.25em;
}
/* ==========================================================================
Embedded content
========================================================================== */
/**
* Remove border when inside `a` element in IE 8/9.
*/
img {
border: 0;
}
/**
* Correct overflow displayed oddly in IE 9.
*/
svg:not(:root) {
overflow: hidden;
}
/* ==========================================================================
Figures
========================================================================== */
/**
* Address margin not present in IE 8/9 and Safari 5.
*/
figure {
margin: 0;
}
/* ==========================================================================
Forms
========================================================================== */
/**
* Define consistent border, margin, and padding.
*/
fieldset {
border: 1px solid #c0c0c0;
margin: 0 2px;
padding: 0.35em 0.625em 0.75em;
}
/**
* 1. Correct `color` not being inherited in IE 8/9.
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
*/
legend {
border: 0; /* 1 */
padding: 0; /* 2 */
}
/**
* 1. Correct font family not being inherited in all browsers.
* 2. Correct font size not being inherited in all browsers.
* 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
*/
button,
input,
select,
textarea {
font-family: inherit; /* 1 */
font-size: 100%; /* 2 */
margin: 0; /* 3 */
}
/**
* Address Firefox 4+ setting `line-height` on `input` using `!important` in
* the UA stylesheet.
*/
button,
input {
line-height: normal;
}
/**
* Address inconsistent `text-transform` inheritance for `button` and `select`.
* All other form control elements do not inherit `text-transform` values.
* Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+.
* Correct `select` style inheritance in Firefox 4+ and Opera.
*/
button,
select {
text-transform: none;
}
/**
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
* and `video` controls.
* 2. Correct inability to style clickable `input` types in iOS.
* 3. Improve usability and consistency of cursor style between image-type
* `input` and others.
*/
button,
html input[type="button"], /* 1 */
input[type="reset"],
input[type="submit"] {
-webkit-appearance: button; /* 2 */
cursor: pointer; /* 3 */
}
/**
* Re-set default cursor for disabled elements.
*/
button[disabled],
html input[disabled] {
cursor: default;
}
/**
* 1. Address box sizing set to `content-box` in IE 8/9/10.
* 2. Remove excess padding in IE 8/9/10.
*/
input[type="checkbox"],
input[type="radio"] {
box-sizing: border-box; /* 1 */
padding: 0; /* 2 */
}
/**
* 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
* 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
* (include `-moz` to future-proof).
*/
input[type="search"] {
-webkit-appearance: textfield; /* 1 */
-moz-box-sizing: content-box;
-webkit-box-sizing: content-box; /* 2 */
box-sizing: content-box;
}
/**
* Remove inner padding and search cancel button in Safari 5 and Chrome
* on OS X.
*/
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}
/**
* Remove inner padding and border in Firefox 4+.
*/
button::-moz-focus-inner,
input::-moz-focus-inner {
border: 0;
padding: 0;
}
/**
* 1. Remove default vertical scrollbar in IE 8/9.
* 2. Improve readability and alignment in all browsers.
*/
textarea {
overflow: auto; /* 1 */
vertical-align: top; /* 2 */
}
/* ==========================================================================
Tables
========================================================================== */
/**
* Remove most spacing between table cells.
*/
table {
border-collapse: collapse;
border-spacing: 0;
}

1
petz/docs/css/rrssb.css Normal file

File diff suppressed because one or more lines are too long

269
petz/docs/css/solo.css Normal file
View File

@ -0,0 +1,269 @@
@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,300italc,400,400italic,500,700);
html {
font: 18px/1.6 'Open Sans', sans-serif;
}
@media (max-width: 325px) {
html { font: 17px/1.6 'Open Sans', sans-serif; }
}
body {
margin: 2rem 0 5rem;
color: #222;
}
@media (min-width: 30rem) {
body {
margin-top: 5rem;
}
}
a {
color: #0074d9; /* From http://clrs.cc */
text-decoration: none;
}
a:hover, a:focus {
text-decoration: underline;
}
h1, h2, h3, h4, h5, h6 {
margin: 0 0 0.5rem -0.1rem /* align left edge */;
color: #111;
text-rendering: optimizeLegibility;
font-family: 'Open Sans', serif;
line-height: 1.2
}
@media (max-width: 750px) {
h1, h2, h3, h4, h5, h6 {
margin-left: 0 !important;
margin-right: 0 !important;
}
}
h1 {
font-size: 2.5rem;
margin-bottom: 7rem;
font-weight: 700;
margin-left: -2rem;
margin-right: -2rem;
}
@media (min-width: 30rem) {
h1 {
font-size: 4rem;
margin-bottom: 10rem;
}
}
h1 a {
color: inherit;
}
h2 {
margin-top: 2rem;
font-size: 1.75rem;
font-weight: 500;
margin-bottom: 5rem;
color: #555;
text-align: right;
margin-right: -4rem;
}
@media (min-width: 30rem) {
h2 {
margin-top: 2.5rem;
font-size: 1.75rem;
margin-bottom: 8rem;
margin-right: -4rem;
}
}
h3 {
margin: 2rem -2rem 1.75rem -2rem;
margin-top: 2rem;
font-size: 1.75rem;
}
@media (min-width: 30rem) {
h3 {
margin-top: 2.5rem;
font-size: 2rem;
margin-bottom: 1.5rem;
}
}
h4, h5, h6 {
margin: 1.5rem -1rem 1.5rem -1rem;
font-size: 1.5rem;
}
p, ul, ol, dl, table, pre, blockquote {
margin-top: 0;
margin-bottom: 1.5rem;
}
ul, ol {
padding-left: 1.5rem;
}
dd {
margin-left: 1.5rem;
}
blockquote {
margin-left: 0.75rem;
margin-right: 0;
padding: 0rem 0.8rem;
border-left: .3rem solid #ccc;
color: #555;
}
blockquote p:last-child {
margin-bottom: 0;
}
.footnote {
color: #444;
}
.center {
display:inline-block;
margin: 0 auto;
}
hr {
border: none;
margin: 1.5rem 0;
border-bottom: 1px solid #ccc;
position: relative;
top: -1px;
}
.img, .container iframe {
max-width: 100%;
}
a {
word-wrap: break-word;
}
.container img {
margin: 2em auto 2em auto;
display: block;
max-width: 75%;
}
@media (max-width: 635px) {
.container img {
max-width: 100%
}
}
table {
width: 100%;
border: 1px solid #ccc;
border-collapse: collapse;
}
td, th {
padding: .25rem .5rem;
border: 1px solid #ccc;
}
pre, code {
font-family: monospace;
background-color: #eee;
}
pre {
padding: .5rem 1rem;
font-size: 0.8rem;
}
code {
padding: .1rem .25rem;
}
pre > code {
padding: 0;
}
.container {
max-width: 625px;
margin: 0 auto;
padding: 0 0.75rem;
}
.sharing {
text-align: center;
}
.date {
text-align: right;
font-size: 75%;
font-style: italic;
}
@media (max-width: 635px) {
.sharing {
font-size: 85%;
}
}
/* This gets Google to fall into place */
.social {
text-align: right;
}
.topsocial {
margin-bottom: 5em;
}
/* This gets Facebook to fall into place */
.social iframe {
vertical-align: middle;
}
/* Set an optional width for your button wrappers */
.social span {
display: inline-block;
width: 110px;
}
/* Adjust the widths individually if you like */
.social .google {
width: 75px;
}
.button {
margin-top: 2em;
margin-left: 1em;
display: inline-block;
border: 2px solid #111;
border-radius: 0.4em;
padding: 0.1em 0.75em;
font-size: 17px;
color: #111;
text-align: center;
}
.button:hover {
color: white;
background-color: #111;
cursor: pointer;
text-decoration: none;
transition: 0.5s;
}
.Facebook {
transform: scale(1.25);
}
.sharing-buttons {
width: 100%;
}
}

66
petz/docs/css/syntax.css Normal file
View File

@ -0,0 +1,66 @@
.hll { background-color: #ffffcc }
/*{ background: #f0f3f3; }*/
.c { color: #999; } /* Comment */
.err { color: #AA0000; background-color: #FFAAAA } /* Error */
.k { color: #006699; } /* Keyword */
.o { color: #555555 } /* Operator */
.cm { color: #0099FF; font-style: italic } /* Comment.Multiline */
.cp { color: #009999 } /* Comment.Preproc */
.c1 { color: #999; } /* Comment.Single */
.cs { color: #999; } /* Comment.Special */
.gd { background-color: #FFCCCC; border: 1px solid #CC0000 } /* Generic.Deleted */
.ge { font-style: italic } /* Generic.Emph */
.gr { color: #FF0000 } /* Generic.Error */
.gh { color: #003300; } /* Generic.Heading */
.gi { background-color: #CCFFCC; border: 1px solid #00CC00 } /* Generic.Inserted */
.go { color: #AAAAAA } /* Generic.Output */
.gp { color: #000099; } /* Generic.Prompt */
.gs { } /* Generic.Strong */
.gu { color: #003300; } /* Generic.Subheading */
.gt { color: #99CC66 } /* Generic.Traceback */
.kc { color: #006699; } /* Keyword.Constant */
.kd { color: #006699; } /* Keyword.Declaration */
.kn { color: #006699; } /* Keyword.Namespace */
.kp { color: #006699 } /* Keyword.Pseudo */
.kr { color: #006699; } /* Keyword.Reserved */
.kt { color: #007788; } /* Keyword.Type */
.m { color: #FF6600 } /* Literal.Number */
.s { color: #d44950 } /* Literal.String */
.na { color: #4f9fcf } /* Name.Attribute */
.nb { color: #336666 } /* Name.Builtin */
.nc { color: #00AA88; } /* Name.Class */
.no { color: #336600 } /* Name.Constant */
.nd { color: #9999FF } /* Name.Decorator */
.ni { color: #999999; } /* Name.Entity */
.ne { color: #CC0000; } /* Name.Exception */
.nf { color: #CC00FF } /* Name.Function */
.nl { color: #9999FF } /* Name.Label */
.nn { color: #00CCFF; } /* Name.Namespace */
.nt { color: #2f6f9f; } /* Name.Tag */
.nv { color: #003333 } /* Name.Variable */
.ow { color: #000000; } /* Operator.Word */
.w { color: #bbbbbb } /* Text.Whitespace */
.mf { color: #FF6600 } /* Literal.Number.Float */
.mh { color: #FF6600 } /* Literal.Number.Hex */
.mi { color: #FF6600 } /* Literal.Number.Integer */
.mo { color: #FF6600 } /* Literal.Number.Oct */
.sb { color: #CC3300 } /* Literal.String.Backtick */
.sc { color: #CC3300 } /* Literal.String.Char */
.sd { color: #CC3300; font-style: italic } /* Literal.String.Doc */
.s2 { color: #CC3300 } /* Literal.String.Double */
.se { color: #CC3300; } /* Literal.String.Escape */
.sh { color: #CC3300 } /* Literal.String.Heredoc */
.si { color: #AA0000 } /* Literal.String.Interpol */
.sx { color: #CC3300 } /* Literal.String.Other */
.sr { color: #33AAAA } /* Literal.String.Regex */
.s1 { color: #CC3300 } /* Literal.String.Single */
.ss { color: #FFCC33 } /* Literal.String.Symbol */
.bp { color: #336666 } /* Name.Builtin.Pseudo */
.vc { color: #003333 } /* Name.Variable.Class */
.vg { color: #003333 } /* Name.Variable.Global */
.vi { color: #003333 } /* Name.Variable.Instance */
.il { color: #FF6600 } /* Literal.Number.Integer.Long */
.css .o,
.css .o + .nt,
.css .nt + .nt { color: #999; }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 86 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 89 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 148 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 107 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 106 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 79 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 96 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 66 KiB

27
petz/docs/index.md Normal file
View File

@ -0,0 +1,27 @@
---
layout: default
---
## A Minecraft style game. Do construct with blocks. Play online. Fun!
- An open world to interact to.
- Game modes: Creative & Survival.
- Make your dreamed constructions.
- Farming.
- Animals to tame & monsters to kill.
- Play online through servers around the whole world.
- License: LGPL 2.1+. Share the game with your friends/family and do not care about licenses!
- Engine: Minetest
- Languages: English/Spanish/Plus other.
- Platforms: Windows/Linux/Android
### Download
<ul class="fa-ul">
<li><i class="fa-li fa fa-download"></i></li>
</ul>
### Mods
[Petz](petz.html)

View File

@ -2,24 +2,24 @@
layout: default
---
![Logo](/images/petz_logo.png)
![Logo](images/petz_logo.png)
![Items](/images/petz_items.png)
![Items](images/petz_items.png)
Are you tired of ugly mobs? Do you like the kawaii world and taste?
The PetZ are here now for you!
### Mobs
#### Kitty
![Kitty](/images/kitty.png)
![Kitty](images/kitty.png)
- It avaliable in 6 colors.
#### Puppy
![Puppy](/images/puppy.png)
![Puppy](images/puppy.png)
- 3 colors.
#### Duckies
![Ducky](/images/ducky.png)
![Ducky](images/ducky.png)
- Three types: Yellow, Black and Mallard.
- Peaceful and dumb animal.
- They can put duck eggs from time to time.You can tame it but not give it any order.
@ -29,7 +29,7 @@ The PetZ are here now for you!
- Fried egg and bacon: A fried egg plus a porkchop.
#### Beaver
![Beaver](/images/beaver.png)
![Beaver](images/beaver.png)
Behaviour:
- It lives near water (in rivers in the case of valleys mapgen).
- It can be tamed.
@ -39,7 +39,7 @@ Behaviour:
- You can spread beaver oil on your pet skin. In tamagochi mode your pet will be happy, but the fact of not do it it is not mandatory for it to be sad.
#### Lamb
![Lamb](/images/lamb.png)
![Lamb](images/lamb.png)
In 3 colors: White (common), grey & dark gray (rare) and brown (very rare).
- Lambs eat grass.
- You can get Wool with the Shears (right click).
@ -48,7 +48,7 @@ In 3 colors: White (common), grey & dark gray (rare) and brown (very rare).
- Predators: Wolf & Lion.
#### Lion
![Lion](/images/lion.png)
![Lion](images/lion.png)
- It lives in the Savanna. Wild animal. Dangerous.
- It likes raw meat.
- Can be tamed and give it orders with meat or a Whip (3 lashings to tame)
@ -58,7 +58,7 @@ In Tamagochi Mode:
- Preys: Lambs, piggies and ponies.
#### Calf
![Calf](/images/calf.png)
![Calf](images/calf.png)
- Available in three skins.
- It eats grass from time to time, like the lambs.
- It drops Leather when killed.
@ -69,20 +69,20 @@ In Tamagochi Mode:
- Predators: Calf.
#### Panda
![Panda](/images/panda.png)
![Panda](images/panda.png)
- Panda is tamable and loves papyrus.
#### Frog
![Frog](/images/frog.png)
![Frog](images/frog.png)
- Frog is a semiaquatic animal. It loves fireflies to eat'em. It drops a leg that you can cook in order to get a Roasted Frog Leg (food).
#### Grizzly
![Grizzly](/images/grizzly.png)
![Grizzly](images/grizzly.png)
- Not a Teddy Bear, but a wild one. It lives in woods. It's tamable like the lion.
- Preys: Lamb.
#### Pony
![Pony](/images/pony.png)
![Pony](images/pony.png)
- You can mount it with a Saddle and get a ride.
- You can give it orders.
- The Saddle can be cut with the Shears.
@ -90,7 +90,7 @@ In Tamagochi Mode:
- Predators: Lion.
#### Parrot
![Parrot](/images/parrot.png)
![Parrot](images/parrot.png)
- Five species.
- Tamable and you can give it orders.
- It loves wheat seeds.
@ -101,7 +101,7 @@ In Tamagochi Mode:
- You can put your parrot on a Bird Stand.
#### Chicken
![Chicken](/images/chicken.png)
![Chicken](images/chicken.png)
- Farm Animal.
- It can lay Chicken Eggs like the duckies.
- It drops Raw Chicken to cook it as food.
@ -109,30 +109,30 @@ In Tamagochi Mode:
- Put a lot of Roasted Chicken Legs into a bucket, to get a super-delicious bucket of Chicken Legs.
#### Pigeon
![Pigeon](/images/pigeon.png)
![Pigeon](images/pigeon.png)
- Flying bird.
#### Chimp
![Chimp](/images/chimp.png)
![Chimp](images/chimp.png)
- Agile monkey.
- Arboreal mob: It can climb trees, wood and leaves.
- It loves blueberries.
#### Piggy
![Piggy](/images/piggy.png)
![Piggy](images/piggy.png)
- It's a source of meat.
- It drops Porkchop to being cooked.
- Predators: Lion.
#### Turtle
![Turtle](/images/turtle.png)
![Turtle](images/turtle.png)
- Semiaquatic mob.
- It eats kelps.
- It has a chance of drop its shell.
#### Fishes
![Clownfish](/images/clownfish.png)
![Tropical Fish](/images/tropicalfish.png)
![Clownfish](images/clownfish.png)
![Tropical Fish](images/tropicalfish.png)
Clownfish & Tropical Fish
- It lives close to a coral reef.
- It loves orange coral (clownfish) or brown coral (tropical fish).
@ -141,7 +141,7 @@ Clownfish & Tropical Fish
- In tamagochi mode you have only to feed it, but no if it is in a fish tank.
#### Wolf
![Wolf](/images/wolf.png)
![Wolf](images/wolf.png)
- Wild animal.
- Run away from players til players attack them, then agressive.
- Tamable in the same way as lion.
@ -149,19 +149,19 @@ Clownfish & Tropical Fish
- Wolves can be turned into puppies: Tame the wolf with a whip, then feed it with bones (until 5, configurable in petz.conf).
#### Moth
![Moth](/images/chimp.png)
![Moth](images/chimp.png)
- It spawns only at night in the coniferous forest.
- It dies when daylight comes, unless it would be in a dark place for protection, i.e. a cave or a closed box. It needs some obscurity, not a totally dark place.
- A moth can be captured with an empty glass bottle. Deco item. If you break the bottle, the moth liberates.
#### Silkworm
![Silkworm](/images/silkworm.png)
![Silkworm](images/silkworm.png)
- It spawn naturally on coniferous forests.
- It eats all kind of leaves.
- You can produce Silk (see below).
#### Camel
![Camel](/images/camel.png)
![Camel](images/camel.png)
- It lives in deserts.
- It eats dry shrub.
- Predator: Lion
@ -176,30 +176,30 @@ Clownfish & Tropical Fish
- You can put together the saddle and the saddlebag. But on right click you will mount it. To access to the inventory of the saddlebag use the shears to quit both items. Then put a saddlebag only.
#### Bat
![Bat](/images/bat.png)
![Bat](images/bat.png)
- Spawn in interiors (caves)
- If spawned outside, only at night, and when sunrise dies.
- It eats and follows fireflies.
#### Hamster
![Hamster](/images/hamster.png)
![Hamster](images/hamster.png)
- It lives in deserts.
- 6 colors.
- Breed them.
- Mutation: Pink Hamster.
#### Dolphin
![Dolphin](/images/dolphin.png)
![Dolphin](images/dolphin.png)
- It lives in oceans.
#### Toucan
![Toucan](/images/toucan.png)
![Toucan](images/toucan.png)
-It lives in the jungle.
-It eats apples.
-Tamable. You can put it in a bird stand.
#### Bee
![Bee](/images/bee.png)
![Bee](images/bee.png)
- Flying insect.
- It lives in behives and stays close to them.
- It produces honey. It searches for flowers to get the pollen and then return to the behive.
@ -242,17 +242,17 @@ In multiplayer games (servers) the Tamagochi Mode is paused if the pet owner is
This does not apply if your pet is inside its kennel.
#### Brush it!
![Brush](/images/brush.png)
![Brush](images/brush.png)
You have to brush your pet once each 2 days at least, or it will be sad. Firstly create a hairbrush with two wood sticks and one string.
This does not apply if your pet is inside its kennel.
#### Lash it!
![Lash](/images/lash.png)
![Lash](images/lash.png)
In the case of a lion or grizzly, you have to lash it with a whip once each 2 days at least in order to control it.
Do not use the whip with another petz!
#### Polish it!
![Beaver Oil](/images/beaver_oil.png)
![Beaver Oil](images/beaver_oil.png)
You can spread beaver oil on your pet skin. In tamagochi mode your pet will be happy, but the fact of not do it it is not mandatory for it to be sad.
Also keep in mind that:
@ -268,16 +268,16 @@ Notes
- The Tamagochi Mode is paused for pet owners in multiplayer games (servers) when they are offline.
### Pet Bowl
![Pet Bowl](/images/pet_bowl.png)
![Pet Bowl](images/pet_bowl.png)
Make a house to your pet and put a Pet Bowl. The pet will stand near it.
### Kennel
![Kennel](/images/kennel.png)
![Kennel](images/kennel.png)
A schematic. Simply make a hole and punch inside it. You can put your pet inside after capture it. For creative mode only.
In there your dog will be well cared for and you won't have to worry about its health.
### Ducks/Chicken Farm
![Ducks/Chicken Farm](/images/duck_chicken_farm.png)
![Ducks/Chicken Farm](images/duck_chicken_farm.png)
You can breed ducks or chickens via its eggs:
- Create a empty nest and put an egg inside (right click), optionally you can create a nest with an already egg inside. Await for the egg to hatch into a new ducky or chicken.
- Also if a ducky or chicken has an empty nest near, it can lay an egg on it.
@ -295,17 +295,17 @@ Use the followig items to capture a petz:
- You cannot capture the pets of other players by default. To allow to rob pets change the setting 'rob_mobs' in 'petz.conf" file.
### Beaver Dam
![Beaver Dam](/images/beaver_dam.png)
![Beaver Dam](images/beaver_dam.png)
The beaver's home
### Fish Tank
![Fish Tank](/images/fish_tank.png)
![Fish Tank](images/fish_tank.png)
- Put your fish inside (right-click)
- Recover your fish with the Bug Net (right click) or breaking it.
- You can connect several fish tank nodes to build bigger tanks and add more fishes (one by node).
### Pony/camel Breeding
![Baby Pony](/images/baby_pony.png)![Pony Breeding](/images/pony_breeding.png)
![Baby Pony](images/baby_pony.png)![Pony Breeding](images/pony_breeding.png)
- Ponies/camels can be male or female. Check its gender right clicking on them.
- Each animal has its own velocity forward, velocity backward and acceleration. You can read its characteristics with the format "1/1/1" where the numbers represent these 3 characteristics.
- Create a Glass Syringe.
@ -327,14 +327,14 @@ The beaver's home
- The method is to breed parents with high speed statistics to get the best descendants, then select the fastest descendants to continue breeding them. This is a very slow process. Be patient.
### Square Ball
![Square Ball](/images/squareball.png)
![Square Ball](images/squareball.png)
- Make a Square Ball.
- Throw it to your puppy. You have to hit the target.
- Your puppy bring back the square ball to you.
- To get the ball, right click on it.
### Recipes
![Recipes](/images/recipes.png)
![Recipes](images/recipes.png)
- Blueberry Cheese Cake = Blueberries, wheat, cheese and egg.
- Blueberry Ice Cream: Blueberries, wheat, milk, 2 eggs and 2 snows = 3 ice creams.
- Blueberry Muffin: Blueberries, 2 wheat, milk, 2 eggs and paper = 8 muffins.
@ -350,13 +350,13 @@ You can get baby lambs, hamsters and elefants.
6) The little petz will grown in one day.
#### Mutation! Vanilla lamb | White Elephant!
![Mutation](/images/mutation.png)
![Mutation](images/mutation.png)
Also petz can suffer from a very rare mutation in its genes when spawn or breed, in a 1:200 ratio.
- You can get a Vanilla Lamb and 'vanilla wool' new item.
- You can get a white elephant.
### Dreamcatcher
![Dreamcatcher](/images/dreamcatcher.png)
![Dreamcatcher](images/dreamcatcher.png)
Dreamcatcher amulet for your petz! Protect them!
- Craftable with: wood, strings and ducky feathers.
- To put it: Right click with it on a pet you own.
@ -364,7 +364,7 @@ Dreamcatcher amulet for your petz! Protect them!
- To remove the Dreamcatcher from your pet: Right click on your pet and click on the Dreamcatcher image. Another option is to kill your pet, it will drop the dreamcatcher.
### Whistle
![Whistle](/images/whistle.png)
![Whistle](images/whistle.png)
Call your petz anywhere it is.
- Put names to pets you want to call.
- Use a Whistle: A list of pets with name and of your own will appear.
@ -378,23 +378,23 @@ You can give orders to tamed petz.
- Fly, Alight: For birds.
### Bird Stand
![Birstand Item](/images/birdstand_item.png)
![Birstand](/images/birdstand.png)
![Birstand Item](images/birdstand_item.png)
![Birstand](images/birdstand.png)
- Capture your parrot with the Bug Net.
- Put it on the bird stand (right-click)
### Barn
![Barn](/images/barn.png)
![Barn](images/barn.png)
Do create livestocks with the aid of fences.
### Silk Farm
![Silk Stuff](/images/silk_stuff.png)
![Silk Stuff](images/silk_stuff.png)
- You can get cocoons. A cocoon is silk indeed.
- Also you can capture or breed moths/silkworns to make a Silk Farm.
- Create a closed facility. Create a bed of leaves. Put inside some moths and/or silkworms. The moths will lay eggs and silkworms will turn into cocoons (be care: they will eat the leaves too).
#### Spinning Wheel
![Spinning Wheel](/images/spiniing_wheel.png)
![Spinning Wheel](images/spiniing_wheel.png)
- Create a Spinning Wheel to get Silk Bobbins. Its a one node size item, so put on a node-table.
Instructions to craft a Spinnig Wheel:
@ -406,13 +406,13 @@ Instructions to use:
- You need to put in the Spinning Wheel (right-click) 3 Silkworns Cocoons. Then a Silk Bobbin will be created. Right-click again to get the bobbin.
#### Prince Armor
![Prince Armor Stuff](/images/prince_armor_stuff.png)
![Prince Armor](/images/prince_armor.png)
![Prince Armor Stuff](images/prince_armor_stuff.png)
![Prince Armor](images/prince_armor.png)
- It requires the 3D Armor mod!
- You can create a super expensive and exquisite Prince Armor thanks to silk.
### Honey Farm
![Honey Stuff](/images/honey_stuff.png)
![Honey Stuff](images/honey_stuff.png)
- The limit of honey by behive is 10 (max_honey_behive setting in petz.conf).
- You can collect honey from a behive with an empty bottle (right click).
- You can eat the honey. Honey is very powerful in order to recover your health.

4
petz/docs/scripts/jquery.js vendored Normal file

File diff suppressed because one or more lines are too long

1
petz/docs/scripts/rrssb.min.js vendored Normal file

File diff suppressed because one or more lines are too long

View File

@ -203,6 +203,7 @@ petz.register_chest("christmas_present", {
"petz_christmas_chest_front.png",
"petz_christmas_chest_inside.png"
},
stack_max = 1,
sounds = default.node_sound_wood_defaults(),
sound_open = "default_chest_open",
sound_close = "default_chest_close",

View File

@ -3,7 +3,7 @@
##Important: All the values separated by commas have to be without spaces.
##
petz_list = kitty,puppy,ducky,lamb,lion,calf,panda,grizzly,pony,parrot,chicken,piggy,wolf,elephant,elephant_female,pigeon,moth,camel,clownfish,bat,silkworm,chimp,hamster,dolphin,tropicalfish,beaver,turtle,frog,toucan,bee,queen_bee,mr_pumpkin,foxy,penguin
petz_list = kitty,puppy,ducky,lamb,lion,calf,panda,grizzly,pony,parrot,chicken,piggy,wolf,elephant,elephant_female,pigeon,moth,camel,clownfish,bat,silkworm,chimp,hamster,dolphin,tropicalfish,beaver,turtle,frog,toucan,bee,queen_bee,mr_pumpkin,foxy,penguin,polar_bear
disable_monsters = false
@ -100,6 +100,7 @@ mr_pumpkin_spawn = true
bee_spawn = false
foxy_spawn = true
penguin_spawn = false
polar_bear_spawn = false
##Enviromental Damage
air_damage = 1
@ -150,7 +151,7 @@ lamb_copulation_distance = 2
##Lion Specific
lion_follow = petz:beef
lion_spawn_chance = 1.0
lion_spawn_nodes = default:dirt_with_dry_grass
lion_spawn_nodes = default:dirt_with_dry_grass,default:dry_dirt,default:dry_dirt_with_dry_grass
lion_preys = petz:lamb,petz:calf,petz:pony,petz:piggy,petz:camel
lion_spawn_biome = default
@ -237,7 +238,7 @@ tropicalfish_spawn_biome = default
##Elephant Specific
elephant_follow = default:acacia_sapling
elephant_spawn_nodes = default:dirt_with_dry_grass
elephant_spawn_nodes = default:dirt_with_dry_grass,default:dry_dirt,default:dry_dirt_with_dry_grass
elephant_spawn_chance = 1.0
elephant_spawn_biome = default
elephant_breed = default:blueberries
@ -328,3 +329,9 @@ penguin_spawn_chance = 1.0
penguin_spawn_nodes = default:snowblock,default:ice
penguin_preys = petz:clownfish,petz:tropicalfish
penguin_spawn_biome = ice_sheet
##Polar Bear Specific
polar_bear_spawn_nodes = default:snowblock,default:ice
polar_bear_preys = petz:penguin
polar_bear_spawn_chance = 1.0
polar_bear_spawn_biome = ice_sheet

View File

@ -8,7 +8,7 @@ local scale_model = 1.0
petz.foxy = {}
local mesh = 'petz_foxy.b3d'
local textures = {"petz_foxy.png"}
local collisionbox = {-0.5, -0.75*scale_model, -0.5, 0.375, -0.375, 0.375}
local collisionbox = {0.25, -0.75*scale_model, 0.5625, -0.25, -0.09375, -0.28125}
minetest.register_entity("petz:"..pet_name,{

View File

@ -0,0 +1,85 @@
--
--POLAR BEAR
--
local S = ...
local pet_name = "polar_bear"
local scale_model = 1.5
petz.polar_bear = {}
local mesh = 'petz_polar_bear.b3d'
local textures= {"petz_polar_bear.png"}
local collisionbox = {0.5625, -0.75*scale_model, 1.125, -0.5625, 0.28125, -1.0}
minetest.register_entity("petz:"..pet_name,{
--Petz specifics
type = "polar_bear",
init_tamagochi_timer = false,
is_pet = false,
has_affinity = false,
is_wild = true,
attack_player = true,
give_orders = false,
can_be_brushed = false,
capture_item = "lasso",
drops = {
{name = "petz:bone", chance = 5, min = 1, max = 1,},
},
rotate = petz.settings.rotate,
physical = true,
stepheight = 0.1, --EVIL!
collide_with_objects = true,
collisionbox = collisionbox,
visual = petz.settings.visual,
mesh = mesh,
textures = textures,
visual_size = {x=petz.settings.visual_size.x*scale_model, y=petz.settings.visual_size.y*scale_model},
static_save = true,
get_staticdata = mobkit.statfunc,
-- api props
springiness= 0,
buoyancy = 0.5, -- portion of hitbox submerged
max_speed = 2.3,
jump_height = 1.5,
view_range = 10,
lung_capacity = 10, -- seconds
max_hp = 30,
attack={range=0.5, damage_groups={fleshy=7}},
animation = {
walk={range={x=1, y=12}, speed=20, loop=true},
run={range={x=13, y=25}, speed=20, loop=true},
stand={
{range={x=26, y=46}, speed=5, loop=true},
{range={x=47, y=59}, speed=5, loop=true},
{range={x=82, y=94}, speed=5, loop=true},
},
sit = {range={x=60, y=65}, speed=5, loop=false},
},
sounds = {
misc = "petz_polar_bear_growl",
attack = "petz_polar_bear_attack",
},
logic = petz.predator_brain,
on_activate = function(self, staticdata, dtime_s) --on_activate, required
mobkit.actfunc(self, staticdata, dtime_s)
petz.set_initial_properties(self, staticdata, dtime_s)
end,
on_punch = function(self, puncher, time_from_last_punch, tool_capabilities, dir)
petz.on_punch(self, puncher, time_from_last_punch, tool_capabilities, dir)
end,
on_rightclick = function(self, clicker)
petz.on_rightclick(self, clicker)
end,
on_step = function(self, dtime)
mobkit.stepfunc(self, dtime) -- required
petz.on_step(self, dtime)
end,
})
petz:register_egg("petz:polar_bear", S("Polar Bear"), "petz_spawnegg_polar_bear.png", true)

View File

@ -249,3 +249,13 @@ Author: Alexander
https://www.freesoundeffects.com/
License: The sound effect is permitted for non-commercial use
under license “Attribution-NonCommercial 4.0 International (CC BY-NC 4.0)”
--------------------------------------------
filenames: petz_polar_bear_attack.ogg
Author: Partners In Rhyme
https://www.freesoundeffects.com/free-track/ploar-89403/polar%20bear/
License: Free
--------------------------------------------
filenames: petz_polar_bear_growl.ogg
Author: Partners In Rhyme
https://www.freesoundeffects.com/free-track/polarbear-89404/polar%20bear/
License: Free

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 505 B