humanbody.rb

znmud-0.0.1/lib/core/bodytypes/humanbody.rb · 806 B

From the archive znmud-minimal-0.0.1.tar.gz

Download the archive   « Back to the archive contents

# file humanbody.rb
# Author: Craig Smith

module HumanBody  

  HUMAN_DNA = { "head" => nil,
		"torso" => "head",
		"right arm" => "torso",
		"left arm" => "torso",
		"right leg" => "torso",
		"left leg" => "torso",
		"right hand" => "right arm",
		"left hand" => "left arm",
		"right foot" => "right leg",
		"left foot" => "left leg"
		}

   HUMAN_DNA_DETAILS = { "head" => ["head", "face", "eyes", "forehead", "ears", "nose", "mouth", "neck"],
			 "torso" => ["body", "waist", "back", "chest" ],
			 "right arm" => [ "arm" ],
			 "left arm" => [ "arm" ],
			 "right leg" => [ "leg" ],
			 "left leg" => [ "leg" ],
			 "right hand" => [ "hand", "wrist" ],
			 "left hand" => [ "hand", "wrist" ],
			 "right foot" => [ "foot" ],
			 "left foot" => [ "foot" ]
			}
   HUMAN_CORE = [ "head", "torso" ]

end

Site Stats

Snippets: 1791
Codebases: 571