浏览代码

Added an anthro template

tags/v0.2.8
Fen Dweller 7 年前
父节点
当前提交
5c43909ba5
共有 1 个文件被更改,包括 12 次插入0 次删除
  1. +12
    -0
      vore.js

+ 12
- 0
vore.js 查看文件

@@ -1,3 +1,7 @@
function pick(list) {
return list[Math.floor(Math.random()*list.length)];
}

function Creature(name = "Creature") {
this.name = name;
this.health = 100;
@@ -12,6 +16,14 @@ function Player(name = "Player") {
this.fullness = 100;
this.maxFullness = 200;
}

function Anthro() {
let species = pick(["dog","cat","lizard","deer","wolf","fox"]);

Creature.call(this, name);
}
// vore stuff here

function Container(name = "stomach") {
this.name = name;
this.contents = [];


正在加载...
取消
保存