/* function: summon_specific */ static int toluaI_monst_summon_specific00(lua_State* tolua_S) { if (!tolua_istype(tolua_S,1,LUA_TNUMBER,0) || !tolua_istype(tolua_S,2,LUA_TNUMBER,0) || !tolua_istype(tolua_S,3,LUA_TNUMBER,0) || !tolua_istype(tolua_S,4,LUA_TNUMBER,0) || !tolua_istype(tolua_S,5,LUA_TNUMBER,0) || !tolua_istype(tolua_S,6,tolua_tag(tolua_S,"bool"),0) || !tolua_istype(tolua_S,7,tolua_tag(tolua_S,"bool"),0) || !tolua_istype(tolua_S,8,tolua_tag(tolua_S,"bool"),0) || !tolua_isnoobj(tolua_S,9)) { TOLUA_ERR_FN(summon_specific); } else { int who = ((int) tolua_getnumber(tolua_S,1,0)); int x1 = ((int) tolua_getnumber(tolua_S,2,0)); int y1 = ((int) tolua_getnumber(tolua_S,3,0)); int lev = ((int) tolua_getnumber(tolua_S,4,0)); int type = ((int) tolua_getnumber(tolua_S,5,0)); bool group = ((bool) tolua_getbool(tolua_S,6,0)); bool friendly = ((bool) tolua_getbool(tolua_S,7,0)); bool pet = ((bool) tolua_getbool(tolua_S,8,0)); summon_specific(who,x1,y1,lev,type,group,friendly,pet); } return 0; }
/* set function: sound_not_available */ static int toluaI_set_sound_sound_not_available(lua_State* tolua_S) { if (!tolua_istype(tolua_S,1,tolua_tag(tolua_S,"bool"),0)) TOLUA_ERR_ASSIGN; sound_not_available = ((bool) tolua_getbool(tolua_S,1,0)); return 0; }
/* set function: dynamic_desc of class quest_type */ static int toluaI_set_quest_quest_type_dynamic_desc(lua_State* tolua_S) { quest_type* self = (quest_type*) tolua_getusertype(tolua_S,1,0); if (!self) TOLUA_ERR_SELF; if (!tolua_istype(tolua_S,2,tolua_tag(tolua_S,"bool"),0)) TOLUA_ERR_ASSIGN; self->dynamic_desc = ((bool) tolua_getbool(tolua_S,2,0)); return 0; }
/* function: summon_cloned_creature */ static int toluaI_monst_summon_cloned_creature00(lua_State* tolua_S) { if (!tolua_istype(tolua_S,1,LUA_TNUMBER,0) || !tolua_istype(tolua_S,2,LUA_TNUMBER,0) || !tolua_istype(tolua_S,3,LUA_TNUMBER,0) || !tolua_istype(tolua_S,4,tolua_tag(tolua_S,"bool"),0) || !tolua_isnoobj(tolua_S,5)) { TOLUA_ERR_FN(summon_cloned_creature); } else { int x1 = ((int) tolua_getnumber(tolua_S,1,0)); int y1 = ((int) tolua_getnumber(tolua_S,2,0)); int r_idx = ((int) tolua_getnumber(tolua_S,3,0)); bool pet = ((bool) tolua_getbool(tolua_S,4,0)); summon_cloned_creature(x1,y1,r_idx,pet); } return 0; }