You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Brian Rahardi 1674c2a54e
use new player get_pos
5 years ago
gosirea Shorter description for gosirea 9 years ago
gravititus Gravititus infect 9 years ago
influencia use new player get_pos 5 years ago
panola removed print and comments from panola init.lua 9 years ago
pathogen Merge branch 'development' of https://github.com/bas080/pathogen 9 years ago
API.md Documentation update 9 years ago
README.md Documentation update 9 years ago
modpack.txt Complete rewrite 9 years ago

README.md

PATHOGEN

A minetest mod that enables users to get a pathogen.

Features

  • Easily define a new pathogen using the pathogen API
  • Demo pathogens that are infectious and sometimes deadly.

Diseases

Gravititus

Occurs when ascending too quickly. Symptons include hiccups and random sense of gravity. There is no known cure yet. ( any suggestions? stone soup anyone? )

Influencia

Highly contagious as it is airborne. Being around someone that has the diseases increases the chances of getting the virus drastically. It is advised to eat well and keep your distance from players that are coughing. Death is very unlikely.

Panola

Contagious through body fluids. It is ok to be near someone that has the disease. Make sure that when cleaning up after someone that has expelled fluids, to decontaminate the fluids first. This can be done with the Decontaminator Decontaminator.

Gosirea

Symptons include gas and burps. Occasionaly a shard. Carrier contaminates nearby surfaces when symptoms show. These can intern infect players that dig the infected nodes. Not deadly for those that have good health.

Items

  • Comes with nodes like vomit, blood and feces that are infectious when dug.
  • A bio hazard warning fence, in case a quarantine is required.
  • A decontaminater for removing infectious fluids.

Crafts

pathogen.recipes['xpanes:fence_warning'] =  {
  {'group:stick', 'wool:red', 'group:stick'},
  {'group:stick', 'wool:red', 'group:stick'},
  {'group:stick', 'wool:red', 'group:stick'}
}

pathogen.recipes['pathogen:decontaminator'] = {
  {'xpanes:bar','',''},
  {'','default:steelblock',''},
  {'','',''}
}

Commands

Infections can be initiated by using commands. It requires the "pathogen" privilege. /grant pathogen.


/pathogens
--list all pathogens and their descriptions

/infect <player name> <pathogen name>
--infect the player

/immunize <player name> <pathogen name>
--make player immune to particular pathogen

Roadmap

  • saving infections for persistence between server restarts
  • more pathogens and cures
  • make the API more flexible, consistent and forgiving
  • register immunization with pathogen in seconds

Reference

License

  • Code WTFPL
  • Images WTFPL
  • Sounds CC