About: Make sure the PCs have a certain Item in possession before resting   Sponge Permalink

An Entity of Type : owl:Thing, within Data Space : 134.155.108.49:8890 associated with source dataset(s)

In the Module properties under the "Events" tab is a script handle marked OnPlayerRest. This is where you can make scripts to do things to the PC when they start to rest, end their Rest, or Cancel their rest. This is a basic script that will check for an Item the PC must have to be able to rest. The Item in this example is FOOD. Change that to the TAG of the item you are looking for. Or you can eliminate / add to the list.

AttributesValues
rdfs:label
  • Make sure the PCs have a certain Item in possession before resting
rdfs:comment
  • In the Module properties under the "Events" tab is a script handle marked OnPlayerRest. This is where you can make scripts to do things to the PC when they start to rest, end their Rest, or Cancel their rest. This is a basic script that will check for an Item the PC must have to be able to rest. The Item in this example is FOOD. Change that to the TAG of the item you are looking for. Or you can eliminate / add to the list.
dcterms:subject
abstract
  • In the Module properties under the "Events" tab is a script handle marked OnPlayerRest. This is where you can make scripts to do things to the PC when they start to rest, end their Rest, or Cancel their rest. This is a basic script that will check for an Item the PC must have to be able to rest. The Item in this example is FOOD. Change that to the TAG of the item you are looking for. Or you can eliminate / add to the list. void main() { object oPC = GetLastPCRested(); object oFood = GetItemPossessedBy(oPC,"FOOD"); if(GetLastRestEventType() == REST_EVENTTYPE_REST_STARTED) { if(!GetIsObjectValid(oFood)) { // This will prevent him from resting AssignCommand(oPC,ClearAllActions()); // Add more conditions here. } } }
Alternative Linked Data Views: ODE     Raw Data in: CXML | CSV | RDF ( N-Triples N3/Turtle JSON XML ) | OData ( Atom JSON ) | Microdata ( JSON HTML) | JSON-LD    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 07.20.3217, on Linux (x86_64-pc-linux-gnu), Standard Edition
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2012 OpenLink Software