Commit Graph

19 Commits

Author SHA1 Message Date
LucasDelvallet
00caf44ef1 Added removeQuestProgress Reward 2015-03-06 14:28:33 +01:00
Oskar Wiksten
61ec20c775 Content editor: allow dragdrop reordering conversation replies 2013-11-24 11:42:52 +01:00
Oskar Wiksten
aacf97e274 Add requirement type: "hasActorCondition"
* Enables scripts and conversations to choose options based on whether the player has a certain actor condition or not.
2013-11-02 10:24:07 +01:00
Oskar Wiksten
4a1c6779cf Enable scripts to activate/deactivate spawn areas & mapobjects
Renames "isActive" on spawnareas to "isSpawning" - so that a spawn area can be non-spawning but still have monsters left in it.
Adds new scripteffect types:
* "spawnAll" = sets  spawn area to spawning and spawns all monsters
* "removeSpawnArea" = sets a spawn area to non-spawning and removes all mobs
* "deactivateSpawnArea" = sets a spawn area to non-spawning
* "activateMapChangeArea" = sets a mapchange area to non-active
* "deactivateMapChangeArea" = sets a mapchange area to non-active (so that it does not teleport the player)
Adds new property "active" to spawn- and mapchange areas in tmx files, that determines whether the areas are active when starting a new game.
2013-11-02 09:26:04 +01:00
Zukero
c06dba6b7d Factorized the checkbox definition in content editor. 2013-10-23 18:08:09 +02:00
Zukero
707940aa14 Added requirement negation capability :
- Use "requireNegation" property in Tiled map object
- Checkbox for require.negate added in Content Editor
2013-10-22 23:10:24 +02:00
Zukero
140dd16408 Key Area now use Requirement, instead of QuestProgress
* Requirement class moved from model.conversation to model.script
* Added requirement questLatestProgress : quest stage must be reached, but no stage with superior ID must be reached.
* New key requirements conditions type (item/gold/bonemeals) consumption (more or less than value, never strict checking, either <= or >=).
2013-10-02 18:21:14 +02:00
Oskar Wiksten
b41fffee44 Content editor: Add support for giveItem,createTimer and timerElapsed in convs 2013-09-25 17:54:08 +02:00
Oskar Wiksten
2dfed6847c Content editor: Display phrase rewards and replies as divs instead of table 2013-08-27 22:54:23 +02:00
Oskar Wiksten
89a64bbdea Content editor: Add support for switching active NPC in dialogue 2013-08-20 20:42:12 +02:00
Oskar Wiksten
5e1f91bad4 Changing all const ints to enums, making the json resource files much easier to read
* Though, the json files will get a bit larger.
2013-07-16 02:35:59 +02:00
Oskar Wiksten
b4f7d1fe42 Add more requirement types to phrase replies: "killed monster" & "skill level" 2013-07-15 20:52:00 +02:00
Oskar Wiksten
cf9b485971 Modify Reply quest- & item requirements into an array of requirements 2013-07-15 18:36:05 +02:00
Oskar Wiksten
52c7cc5acc Content editor: Add hierarcical view of conversation phrases and replies. 2013-04-06 12:30:07 +02:00
Oskar Wiksten
a32595c645 Refactor content editor - Correct spelling on tooltips. 2013-02-09 12:42:01 +01:00
Oskar Wiksten
4476d77a73 Refactor content editor - Added hints for most editable fields. 2013-02-09 12:35:17 +01:00
Oskar Wiksten
4a4450d20d Refactor content editor - Remove conversation tree. Provide links to follow conversation topics. 2013-02-09 12:35:17 +01:00
Oskar Wiksten
8ec233096a Refactor content editor - Display (buggy) treeview for editing conversation phrases. 2013-02-09 12:35:17 +01:00
Oskar Wiksten
f2b9e6a9f3 Refactor content editor - Reorganized files into separate directories. 2013-02-09 12:35:17 +01:00