cmorgan, on Feb 20 2011, 12:00 PM, said:
(My fave wtf moment so far since I've returned was finding that I missed free beer in the WeiDU docs.)
Posted 20 February 2011 - 10:29 PM
cmorgan, on Feb 20 2011, 12:00 PM, said:
Posted 22 February 2011 - 10:45 PM
CamDawg, on Feb 21 2011, 01:29 AM, said:
IF ~AreaType(FL_TAVERN)~ THEN RESPOND ~Well, do you want to go get a drink, listen around, dance to the music, or take a walk on the streets? We can't rent a bed here, more's the pity.~I'm guessing this would also have to check for !INN to be a valid comment. I believe the flags would be combineable, meaning something could be an inn, a tavern, a shop and/or even a temple. So if you want to check for all establishments that serve drinks, just a TAVERN check would suffice. If you want all places where you can rent a bed and get a drink, you'd have to check both INN and TAVERN (I think).
Posted 18 July 2011 - 08:03 PM
Existing area types: 1 OUTDOOR Subject to weather? 2 DAYNIGHT Subject to hour-based light levels 4 WEATHER Redundant with OUTDOOR? 8 CITY Outdoor urban area (triggers AREA_CITY sounds) 16 FOREST Triggers AREA_FOREST NPC sounds 32 DUNGEON Triggers AREA_DUNGEON NPC sounds 64 EXTENDEDNIGHT Different day/night maps 128 CANRESTOTHER Can rest (camp) here New proposed types: 256 SHOP Can buy/sell items 512 TEMPLE Can purchase healing spells 1024 TAVERN Can purchase drinks (rumours) 2048 INN Can rent a bed 4096 STRONGHOLD Player stronghold 8192 EXTRAPLANAR Outside the prime material plane 16384 - Unused 32768 - UnusedNote that these bit values aren't exclusive - you could have an extraplanar inn/tavern in an outdoor forest if you really wanted to. I added that "extraplanar" flag as it strikes me as it could be useful for a number of scripting mods such as aTweaks (for example, fiends will have different behaviour and can die permanently on their home planes). Also, like Ardanis, I see no reason to use prefixes, as it just makes it more complex and more subject to possible duplicate entries.
Posted 05 August 2011 - 03:07 PM
Posted 05 August 2011 - 10:07 PM
Wisp, on Aug 5 2011, 07:07 PM, said:
Quote
Quote
0 NOSAVE 1 TUTORIALAREAand also presumably
2 DEADMAGICZONE 3 DREAMAREAMeaning we have 28 unused flags here. Probably not as dynamic as combinable bitfields in areaflag.ids but perhaps more appropriate for something like CANT_TELEPORT?
Posted 06 August 2011 - 02:11 PM
Miloch, on Aug 6 2011, 08:07 AM, said:
Quote
Quote
0 NOSAVE 1 TUTORIALAREAand also presumably
2 DEADMAGICZONE 3 DREAMAREAMeaning we have 28 unused flags here. Probably not as dynamic as combinable bitfields in areaflag.ids but perhaps more appropriate for something like CANT_TELEPORT?
Posted 07 August 2011 - 02:36 PM
Wisp, on Aug 6 2011, 06:11 PM, said:
Quote
Wisp, on Aug 6 2011, 06:11 PM, said:
APPEND ~areatype.ids~ ~256 SHOP~ UNLESS ~^256\|SHOP~ APPEND ~areatype.ids~ ~512 TEMPLE~ UNLESS ~^512\|TEMPLE~ APPEND ~areatype.ids~ ~1024 TAVERN~ UNLESS ~^1024\|TAVERN~ APPEND ~areatype.ids~ ~2048 INN~ UNLESS ~^2048\|INN~ APPEND ~areatype.ids~ ~4096 STRONGHOLD~ UNLESS ~^4096\|STRONGHOLD~ APPEND ~areatype.ids~ ~8192 EXTRAPLANAR~ UNLESS ~^8192\|EXTRAPLANAR~ APPEND ~areatype.ids~ ~16384 CANT_TELEPORT~ UNLESS ~^16384\|CANT_TELEPORT~As for patching existing areas, why not leave that to someone who cares. Sounds like you don't, and I don't, apart from my own areas (and as for those I'm just being polite to those who plan to use this, as they shouldn't have to guess what my areas are).

0 members, 1 guests, 0 anonymous users