home *** CD-ROM | disk | FTP | other *** search
- -- convenience abbreviations for mike's and elaine's character IDs
- NOBODY = CharacterGOResource.NOBODY
- MIKE = CharacterGOResource.MIKE
- ELAINE = CharacterGOResource.ELAINE
-
- -- conditions
- NEED_NONE = CharacterGOResource.NEED_NONE
- NEED_HUNGER = CharacterGOResource.NEED_HUNGER
- NEED_COMFORT = CharacterGOResource.NEED_COMFORT
- NEED_HYGIENE = CharacterGOResource.NEED_HYGIENE
- NEED_TIREDNESS = CharacterGOResource.NEED_TIREDNESS
- NEED_FUN = CharacterGOResource.NEED_FUN
- NEED_RELATIONSHIP = CharacterGOResource.NEED_RELATIONSHIP
- NEED_LIBIDO = CharacterGOResource.NEED_LIBIDO
- NEED_APARTMENT = CharacterGOResource.NEED_APARTMENT
- -- hidden conditions
- NEED_HYGIENE_BODY = CharacterGOResource.NEED_HYGIENE_BODY
- NEED_HYGIENE_MOUTH = CharacterGOResource.NEED_HYGIENE_MOUTH
- NEED_HYGIENE_HAND = CharacterGOResource.NEED_HYGIENE_HAND
-
- NEED_LIBIDO_EROTIC = CharacterGOResource.NEED_LIBIDO_EROTIC
- NEED_LIBIDO_SEX = CharacterGOResource.NEED_LIBIDO_SEX
- NEED_RELATIONSHIP_FRIENDSHIP = CharacterGOResource.NEED_RELATIONSHIP_FRIENDSHIP
- NEED_RELATIONSHIP_ROMANTIC = CharacterGOResource.NEED_RELATIONSHIP_ROMANTIC
- NEED_JUSTICE = CharacterGOResource.NEED_JUSTICE
- NEED_WORK = CharacterGOResource.NEED_WORK
- NEED_TROUBLE = CharacterGOResource.NEED_TROUBLE
- NEED_BLADDER = CharacterGOResource.NEED_BLADDER
- NEED_TIDINESS_OBJECTS = CharacterGOResource.NEED_TIDINESS_OBJECTS
- NEED_TIDINESS_FLOOR = CharacterGOResource.NEED_TIDINESS_FLOOR
- NEED_TIDINESS_PLATES = CharacterGOResource.NEED_TIDINESS_PLATES
- NEED_TIDINESS_TRASH = CharacterGOResource.NEED_TIDINESS_TRASH
-
- -- relationship conditions
- REL_NONE = CharacterGOResource.REL_NONE
- REL_ROMANTIC = CharacterGOResource.REL_ROMANTIC
- REL_FUN = CharacterGOResource.REL_FUN
- REL_FRIENDSHIP = CharacterGOResource.REL_FRIENDSHIP
- REL_SEX = CharacterGOResource.REL_SEX
- REL_EROTIC = CharacterGOResource.REL_EROTIC
- REL_TROUBLE = CharacterGOResource.REL_TROUBLE
-
- -- character conditions
- CHAR_NONE = CharacterGOResource.CHAR_NONE
- CHAR_EXTROVERTEDNESS = CharacterGOResource.CHAR_EXTROVERTEDNESS
- CHAR_PLAYFULLNESS = CharacterGOResource.CHAR_PLAYFULLNESS
- CHAR_TIDINESS = CharacterGOResource.CHAR_TIDINESS
- CHAR_FRIENDLYNESS = CharacterGOResource.CHAR_FRIENDLYNESS
- CHAR_NEUROTIC = CharacterGOResource.CHAR_NEUROTIC
- CHAR_MESSY = CharacterGOResource.CHAR_MESSY -- hidden
- CHAR_CHAOTIC = CharacterGOResource.CHAR_CHAOTIC -- hidden
-
- -- Archtypes
- NOTYPE = CharacterGOResource.NOTYPE
- -- (female archtypes)
- BOSS = CharacterGOResource.BOSS
- SEDUCTRESS = CharacterGOResource.SEDUCTRESS
- SPUNKY_KID = CharacterGOResource.SPUNKY_KID
- FREE_SPIRIT = CharacterGOResource.FREE_SPIRIT
- INNOCENT_GIRL = CharacterGOResource.INNOCENT_GIRL
- SCIENTIST = CharacterGOResource.SCIENTIST
- ACTIVIST = CharacterGOResource.ACTIVIST
- NURSE = CharacterGOResource.NURSE
- -- (male archtypes)
- CHIEF = CharacterGOResource.CHIEF
- BAD_BOY = CharacterGOResource.BAD_BOY
- BEST_FRIEND = CharacterGOResource.BEST_FRIEND
- CHARMER = CharacterGOResource.CHARMER
- LOST_SOUL = CharacterGOResource.LOST_SOUL
- PROFESSOR = CharacterGOResource.PROFESSOR
- SWASHBUCKLER = CharacterGOResource.SWASHBUCKLER
- WARRIOR = CharacterGOResource.WARRIOR
-
- -- Outfits
- ARCHTYPE = CharacterGOResource.ARCHTYPE
- STANDARD = CharacterGOResource.STANDARD
- TOWEL = CharacterGOResource.TOWEL
- SWIMMING = CharacterGOResource.SWIMMING
- UNDERWEAR = CharacterGOResource.UNDERWEAR
- NOTHING = CharacterGOResource.NOTHING
- NOTHING_SEX = CharacterGOResource.NOTHING_SEX
-
- -- emoticons
- EMOTICON_ANGRY = CharacterGO.EMOTICON_ANGRY
- EMOTICON_CANNOT = CharacterGO.EMOTICON_CANNOT
- EMOTICON_DUNNO = CharacterGO.EMOTICON_DUNNO
- EMOTICON_HAPPY = CharacterGO.EMOTICON_HAPPY
- EMOTICON_INLOVE = CharacterGO.EMOTICON_INLOVE
- EMOTICON_NEGATIVE = CharacterGO.EMOTICON_NEGATIVE
- EMOTICON_NEUTRAL = CharacterGO.EMOTICON_NEUTRAL
- EMOTICON_POSITIVE = CharacterGO.EMOTICON_POSITIVE
- EMOTICON_SAD = CharacterGO.EMOTICON_SAD
- EMOTICON_SLEEPING = CharacterGO.EMOTICON_SLEEPING
- EMOTICON_SLEEPY = CharacterGO.EMOTICON_SLEEPY
- EMOTICON_SMILE = CharacterGO.EMOTICON_SMILE
- EMOTICON_DELAY = CharacterGO.EMOTICON_DELAY
- EMOTICON_NOPATH = CharacterGO.EMOTICON_NOPATH
- EMOTICON_NOSEAT = CharacterGO.EMOTICON_NOSEAT
- EMOTICON_SHY = CharacterGO.EMOTICON_SHY
- EMOTICON_NOSOFA = CharacterGO.EMOTICON_NOSOFA
- EMOTICON_SMELL = CharacterGO.EMOTICON_SMELL
- EMOTICON_APARTMENT = CharacterGO.EMOTICON_APARTMENT
- EMOTICON_WAIT = CharacterGO.EMOTICON_WAIT
- EMOTICON_EROTIC = CharacterGO.EMOTICON_EROTIC
- EMOTICON_JUSTICE = CharacterGO.EMOTICON_JUSTICE
-
- EMOTICON_BLADDER = CharacterGO.EMOTICON_BLADDER
- EMOTICON_HUNGER = CharacterGO.EMOTICON_HUNGER
- EMOTICON_NOAPARTMENT = CharacterGO.EMOTICON_NOAPARTMENT
- EMOTICON_NOFUN = CharacterGO.EMOTICON_NOFUN
- EMOTICON_NOCOMFORT = CharacterGO.EMOTICON_NOCOMFORT
-
- EMOTICON_HOBBY = CharacterGO.EMOTICON_HOBBY
- EMOTICON_COMFORT = CharacterGO.EMOTICON_COMFORT
- EMOTICON_COMPLIMENT = CharacterGO.EMOTICON_COMPLIMENT
- EMOTICON_RELATION = CharacterGO.EMOTICON_RELATION
- EMOTICON_ARGUE = CharacterGO.EMOTICON_ARGUE
- EMOTICON_SMALLTALK = CharacterGO.EMOTICON_SMALLTALK
- EMOTICON_JOKE = CharacterGO.EMOTICON_JOKE
- EMOTICON_TEASE = CharacterGO.EMOTICON_TEASE
- EMOTICON_GOSSIP = CharacterGO.EMOTICON_GOSSIP
-
-
- CONDITION_POSE_PAUSE = 10000
- CONDITION_POSE_PROB = 0.5
-
- -- keys for entries in pie menu button
- ACTIVITY = PieButtonDescription.ACTIVITY
- DONTQUEUE = PieButtonDescription.DONTQUEUE
- USERACTION = PieButtonDescription.USERACTION
- ALWAYS_USERSELECTABLE = PieButtonDescription.ALWAYS_USERSELECTABLE
- HIDE_IF_UNSELECTABLE = PieButtonDescription.HIDE_IF_UNSELECTABLE
- NO_AI = PieButtonDescription.NO_AI
- GRAYED_OUT = PieButtonDescription.GRAYED_OUT
- NO_NEGATIVE_ICON = PieButtonDescription.NO_NEGATIVE_ICON
-
- -- return values for activity.isPossible()
- -- the activity is possible
- POSSIBLE = Activity.POSSIBLE
- -- not possible because the object is broken
- OBJECT_BROKEN = Activity.OBJECT_BROKEN
- -- not possible because the activity was already done too often this day or week
- MAX_COUNT = Activity.MAX_COUNT
- -- not possible because a skill is missing
- NO_SKILL = Activity.NO_SKILL
- -- not possible the sum of needs (conditions) is not fulfilled
- NO_SATISFACTION = Activity.NO_SATISFACTION
- -- not possible because a need (condition) is not fulfilled
- NO_CONDITION = Activity.NO_CONDITION
- -- not possible the sum of needs (conditions) of partner is not fulfilled
- NO_PARTNERSATISFACTION = Activity.NO_PARTNERSATISFACTION
- -- not possible because a need (condition) of a partner is not fulfilled
- NO_PARTNERCONDITION = Activity.NO_PARTNERCONDITION
- -- not possible because a relationship condition is not fulfilled
- NO_RELATIONSHIPCONDITION = Activity.NO_RELATIONSHIPCONDITION
- -- not possible because a relationship condition with non-partner character is not fulfilled
- NO_TARGETRELATIONSHIPCONDITION= Activity.NO_RELATIONSHIPCONDITION
- -- not possible because activity is being started out of time slot
- TIMESLOT = Activity.TIMESLOT
- -- not possible because not enough money
- NO_MONEY = Activity.NO_MONEY
- -- not possible for unknown reasons
- UNKNOWN = Activity.UNKNOWN
-
- RIGHT_HAND = 0
- LEFT_HAND = 1
-
- -- the polling time for cancelling an activity
- CANCEL_POLLING_INTERVAL = 1000
-
- -- how long a picture will be showed
- TV_ANIM_FRAME_DURRATION = 100;
- TV_ACTIVITIES = {"watchSitcom", "watchAction", "watchNews", "watchRomantic", "watchHorror"};
- STEP_SOUNDS = {"", "Grass", "Wood", "Barefoot"};
-
- PC_ACTIVITIES = {"playComputer", "chatComputer"};
- PC_PROGRAMS = {"play", "chat"};
-
-
- -- dirt types
- DIRT_FOOTSTEP = DirtServer.DIRT_FOOTSTEP;
- DIRT_BIGDIRT = DirtServer.DIRT_BIGDIRT;
- DIRT_SMASHED = DirtServer.DIRT_SMASHED;
- DIRT_TRASH = DirtServer.DIRT_TRASH;
-
- -- dirt probability
- WALK_DIRT_PROBABILITY = 0.05
- WALK_DIRT_SIZE = 0.1
-
- -- hoover stuff
- HOOVER_RADIUS_BONUS = 0.3
- STANDARD_HOOVER_RADIUS = 0.5
-
-
- -- how far away from the dirt schould we stand when cleaning floor
- DIRT_DISTANCE = 0.5;
-
- -- don create new dirs on this floor types
- NO_DIRT_FLOOR_TYPES = {"Grass"}
-
-
- -- max facing and distance for watching objects (like tv)
- MAX_WATCH_FACING = -0.7;
- MAX_WATCH_DISTANCE = 6.0;
-
-
- -- time to clean one dish
- DISH_CLEAN_TIME = 20000;
-
- -- week days
- MONDAY = GameDate.MONDAY
- TUESDAY = GameDate.TUESDAY
- WEDNESDAY = GameDate.WEDNESDAY
- THURSDAY = GameDate.THURSDAY
- FRIDAY = GameDate.FRIDAY
- SATURDAY = GameDate.SATURDAY
- SUNDAY = GameDate.SUNDAY
-
- -- outside world
- CITY = GameObjectServer.CITY
- COUNTRY = GameObjectServer.COUNTRY
-
- -- factor to speed up sex animations
- SEX_SPEEDUP = 2.0;
- -- factor to speed up walking
- WALK_SPEEDUP = tonumber(readConfig("Game", "walkSpeedUp", "1.5"));
- RUN_SPEEDUP = tonumber(readConfig("Game", "runSpeedUp", "1.0"));
-
- WAIT_INTERACTION_ACTIVE = 30000;
- WAIT_INTERACTION_PASSIVE = 10000;
-
-
- STAIRS_DOWN_SPEEDUP = 1.5;
- STAIRS_UP_SPEEDUP = 1.5;
-
- -- how long schould cooked food stay on the oven
- OVEN_FOOD_REMAIN_TIME = 3*60*1000;
-
- -- default life time for objects that have the autoDestruct state machine
- -- individual life times can be defined in the config/game: lifeTime<resource name> = <life time in ms>
- DEFAULT_LIFE_TIME = 5*60*1000;
-
-
- QUEST_REQUEUE_TIME = 5*1000;
-
-
-
- -- how long it takes until a stand pose says actionComplete()
- -- waring: complete time + fade out time must be >= fade in time
- -- currently it is 700 + 300 >= 1000
- STAND_POSE_COMPLETE_TIME = 700
- -- how long to fade betweeen stand pose anims
- STAND_POSE_FADE_TIME = 1000
-
- -- how long it takes until a emo pose says actionComplete()
- EMO_POSE_COMPLETE_TIME = 700
- -- how long to fade betweeen emo pose anims
- EMO_POSE_FADE_TIME = 1000
- SHY_POSE_COMPLETE_TIME = 1000
-
-
- --DLG_POSES = {"Wonder", "Smile", "Sigh", "Shy", "Sad", "Flirt", "Bored", "Angry"}
-
-
-
-
- -- how long to fade betweeen sex anims
- SEX_FADE_TIME = 1000
- SEX_GROAN_GAP = 8000;
-
-
- -- trash stuff
- MAX_STINK_RATE = 1.0;
- MIN_STINK_RATE = 0.5;
- FULL_TRASHCAN_DIRTINESS = 1.0
- TRASH_TO_DIRT = 1.0;
-
- -- oven stuff
- MAX_OVEN_DAMP_RATE = 0.1;
-
-
- -- dirty objects stuff
- CLEAN_PER_LOOP = 0.1; -- * clean effectiviness
- DIRTIFY_PER_BATH = 0.3; -- * (messy level / 10)
- DIRTIFY_PER_SIT_TOILET = 0.3; -- * (messy level / 10)
- DIRTIFY_PER_TABLE_EAT = 0.1; -- * (messy level / 10)
-
-
-
-
- -- room types
- LIVINGROOM = Room.LIVINGROOM;
- KITCHEN = Room.KITCHEN;
- WORKSPACE = Room.WORKSPACE;
- BEDROOM = Room.BEDROOM;
- BATHROOM = Room.BATHROOM;
- OUTSIDE = Room.OUTSIDE;
-
- -- state object ID that is never used by a state object
- NO_OBJECT_ID = tonumber(StateObjectServer.NO_OBJECT_ID);
-
- -- audio categories
- MUSIC = GameObjectServer.MUSIC;
- SOUND = GameObjectServer.SOUND;
- SPEECH = GameObjectServer.SPEECH;
-
- -- update trigger message
- UPDATE_TRIGGER_MESSAGE = StandardGO.UPDATE_TRIGGER_MESSAGE
- REPAIR_COMMAND = StandardGO.REPAIR_COMMAND
- REPAIR = StandardGO.REPAIR
- PM_REPAIR = StandardGO.PM_REPAIR
-
- -- day times
- MORNING = GameObjectServer.MORNING
- DAY = GameObjectServer.MORNING
- EVENING = GameObjectServer.MORNING
- NIGHT = GameObjectServer.MORNING
-