Skip to content

stamper.lua - gui designation manipulator #57

Merged
lethosor merged 10 commits intoDFHack:masterfrom
grubsteak:patch-1
Jun 19, 2018
Merged

stamper.lua - gui designation manipulator #57
lethosor merged 10 commits intoDFHack:masterfrom
grubsteak:patch-1

Conversation

@grubsteak
Copy link
Copy Markdown
Contributor

this tool allows you to manipulate designations by transforming them through reflections, rotations, and inverting them. you can also use these designations as brushes to erase other designations or cancel building designations

please leave my author's note in if it's not a big deal

I've tested this over and over and I think I've squashed all the bugs except for the hacky fixes at the bottom

also it probably doesn't follow the dfhack formatting convention so I'll wait for travis to tell me what I did wrong. (I'm new to github)

there is some janky shit at the bottom and if you know a better way to do that please implement it

@lethosor
Copy link
Copy Markdown
Member

Well, my first observation is that it needs a better name - it's conventional for GUI scripts to be in the gui folder, so they'd have a gui/ prefix in-game. It's also not obvious what it copies from the name, and from your description, that isn't all it does - maybe gui/designations or gui/edit-designations would work? (Not sure how much I like edit)

@grubsteak
Copy link
Copy Markdown
Contributor Author

grubsteak commented May 19, 2018

how about gui/xerox?

Ideally I think it should be a short name so it's easy to type

@lethosor
Copy link
Copy Markdown
Member

Again, not entirely obvious what it does from the name - we have existing brush-like tools for liquids and tiletypes (no GUI for the latter, though). If you're concerned about typing, use a hotkey like gui/liquids (Alt-L).

@grubsteak
Copy link
Copy Markdown
Contributor Author

I apologize for the lack of clarity. It lets you lift designations and manipulate them by mirroring them, rotating them, and inverting them. Sort of like a brush tool for an image manipulator.

will any of these be okay?

  1. gui/stamp (or gui/stamper)
  2. gui/brush

Copy link
Copy Markdown
Member

@lethosor lethosor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks pretty good overall, although I haven't tried it out. There are a few places lacking whitespace that I'm not a huge fan of (no spaces around binary operators, error'foo', etc.), but it's still easy enough to read that I'm not too concerned about it. A few things I noticed below (or above?):

copy.lua Outdated
dc:newline():newline(1)
dc:key('CUSTOM_P'):string(": Cull Selections",self.cull and COLOR_WHITE or COLOR_GREY)
elseif self.state=='convert' then
dc:key('CUSTOM_D'):string(": Mine",COLOR_GREY) dc:newline(2)
Copy link
Copy Markdown
Member

@lethosor lethosor May 19, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dc:key_string('CUSTOM_D', 'Mine') is equivalent, and you should chain the :newline() instead of putting two statements on the same line, which is harder to read.

copy.lua Outdated
dc:key('CUSTOM_J'):string(": Up Stair",COLOR_GREY) dc:newline(2)
dc:key('CUSTOM_I'):string(": U/D Stair",COLOR_GREY) dc:newline(2)
dc:key('CUSTOM_R'):string(": Up Ramp",COLOR_GREY) dc:newline(2)
dc:newline(1)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indentation doesn't match

copy.lua Outdated
dc:string("To undesignate use the erase command",COLOR_WHITE)
end
dc:newline(2)
dc:newline(1)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You don't really need the 2 there - dc:newline():newline(1) would be equivalent.
Maybe newline() needs a second dy parameter to skip multiple lines, since that seems to be used fairly often...

copy.lua Outdated
end

--------------------------WARNING: JANKY SHIT BELOW--------------------------
for i=1, 4 do
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think what gui/teleport does is something you could try, and that could be moved inside the CopyUI class too.

scripts/gui/teleport.lua

Lines 47 to 63 in 0b6e4a5

function TeleportSidebar:onAboutToShow(parent)
if not df.viewscreen_dwarfmodest:is_instance(parent) then
qerror("This screen requires the main dwarfmode view")
end
self.old_mode = df.global.ui.main.mode
if df.global.ui.main.mode == df.ui_sidebar_mode.Default then
parent:feed_key(df.interface_key.D_VIEWUNIT)
end
local mode = df.global.ui.main.mode
if mode ~= df.ui_sidebar_mode.ViewUnits then
qerror(("Use '%s' to select a unit"):format(
dfhack.screen.getKeyDisplay(df.interface_key.D_VIEWUNIT)
))
end
end

Forcing ui.main.mode to df.ui_sidebar_mode.LookAround might be more appropriate for your case. One benefit of that is that it will make DF show the sidebar temporarily if it was hidden before - your way overrides user preferences.

You probably also don't need to copy/restore the sidebar mode like that script - that was an old feature for supporting the k (LookAround) menu too, but I don't think it works any more. Looks like you're already doing this.

copy.lua Outdated

end
if keys.LEAVESCREEN then
self:dismiss()
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indentation

copy.lua Outdated

end
local firstInput=true
local firstPos=copyall(df.global.cursor)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These seem like things that should be member variables

Copy link
Copy Markdown
Contributor Author

@grubsteak grubsteak May 19, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was to fix a bug where the cursor would jump to the side. I should probably put it in the :init() function

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, that's what I mean.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actually it isn't need I just forgot to take it out.

if not same_xyz(cursor, pos) then
local stile = vp:tileToScreen(pos)
if stile.z == 0 then
dc:map(true):seek(stile.x,stile.y):char(...):map(false)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job with this! Did you test it with TWBT, or just steal it from scripts like gui/siege-engine? I assume it works with TWBT since this is here, but it would be nice to know.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I "adapted" (stole) this from a script called guide-path

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did not test it with TWBT.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, that's one of the other scripts that got changed along with gui/siege-engine when we added TWBT support to the drawing API (I thought of gui/siege-engine because it was the one that inspired the change). As long as you use this every time you draw to the map area, it should work fine.

copy.lua Outdated
shoutout to twitch.tv/keupo
created by flavorstreet

pipicaca.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is fine - I'm less enthusiastic about people adding their names to every script they touch, since that's what Git history is for, but background information like this can be useful to have. (Not sure what significance pipicaca has here, but not an issue.)

@grubsteak grubsteak changed the title copy.lua - gui designation manipulator stamper.lua - gui designation manipulator May 19, 2018
@lethosor
Copy link
Copy Markdown
Member

I didn't see either of your naming comments earlier, sorry. I guess stamper is better; still not too clear from the name what it does, but it is more targeted towards this script than others, so all right.

@grubsteak
Copy link
Copy Markdown
Contributor Author

I commited the changes you requested.

@ivantumanov
Copy link
Copy Markdown

@lethosor just pinging for an update on this PR - I've seen some people asking about its status on stream / in comments

@lethosor
Copy link
Copy Markdown
Member

Looks good now. I'll test it soon - not sure when, but it's on the list for r2.

@lethosor lethosor merged commit ee82d10 into DFHack:master Jun 19, 2018
cppcooper added a commit to cppcooper/dfhack-scripts that referenced this pull request Jun 27, 2018
Squashed commit of the following:

commit aed35fd
Author: lethosor <[email protected]>
Date:   Mon Jun 25 15:31:40 2018 -0400

    Add 0.44.11 to devel/save-version

commit 56a209a
Author: lethosor <[email protected]>
Date:   Thu Jun 21 10:59:11 2018 -0400

    unit_flags1.dead -> inactive

    Follow-up for DFHack/df-structures#247

commit 72e150e
Author: lethosor <[email protected]>
Date:   Thu Jun 21 00:45:13 2018 -0400

    Adjust indentation/whitespace from DFHack#62

commit b101452
Merge: e580b16 506efce
Author: lethosor <[email protected]>
Date:   Thu Jun 21 00:41:44 2018 -0400

    Merge remote-tracking branch 'PatrikLundell/dead_misuse'

commit e580b16
Merge: ee82d10 4de3d7e
Author: Lethosor <[email protected]>
Date:   Mon Jun 18 21:46:53 2018 -0400

    Merge pull request DFHack#58 from AtomicChicken/bodyswap

    bodyswap: minor adjustments

commit ee82d10
Merge: 54a0e03 123be9a
Author: Lethosor <[email protected]>
Date:   Mon Jun 18 21:46:12 2018 -0400

    Merge pull request DFHack#57 from grubsteak/patch-1

    stamper.lua - gui designation manipulator

commit 54a0e03
Merge: 20bee6f 7b90330
Author: Lethosor <[email protected]>
Date:   Mon Jun 18 21:45:37 2018 -0400

    Merge pull request DFHack#61 from PatrikLundell/deathcause

    Deathcause

commit 20bee6f
Merge: f722aee 469817b
Author: Lethosor <[email protected]>
Date:   Mon Jun 18 21:44:59 2018 -0400

    Merge pull request DFHack#63 from brndd/add-recipe

    add-recipe

commit f722aee
Merge: 7099794 028cead
Author: Lethosor <[email protected]>
Date:   Mon Jun 18 17:51:03 2018 -0400

    Merge pull request DFHack#59 from AtomicChicken/create-unit

    create-unit: added 'quantity' argument and random caste selection

commit 028cead
Merge: 89ddb81 7099794
Author: Ben Lubar <[email protected]>
Date:   Mon Jun 18 15:50:48 2018 -0500

    Merge branch 'master' into create-unit

commit 7099794
Merge: b065ce4 d0f8384
Author: Lethosor <[email protected]>
Date:   Mon Jun 18 16:07:55 2018 -0400

    Merge pull request DFHack#64 from brndd/item-descriptions

    item-descriptions editor's pass

commit 506efce
Merge: 17a06a9 b9ffb9c
Author: PatrikLundell <[email protected]>
Date:   Mon Jun 18 20:03:32 2018 +0200

    Merge branch 'dead_misuse' of https://github.com/PatrikLundell/scripts into dead_misuse

commit 17a06a9
Author: PatrikLundell <[email protected]>
Date:   Mon Jun 18 20:00:49 2018 +0200

    reversed condition fixed

commit b9ffb9c
Author: Lethosor <[email protected]>
Date:   Mon Jun 18 13:50:33 2018 -0400

    export-dt-ini: consistent case

commit 3acd169
Author: Lethosor <[email protected]>
Date:   Mon Jun 18 13:49:51 2018 -0400

    isActive -> dfhack.units.isActive

commit 065138e
Author: PatrikLundell <[email protected]>
Date:   Thu Jun 14 21:50:25 2018 +0200

    flags -> functions. Hystersis for removal

commit daccfaa
Author: PatrikLundell <[email protected]>
Date:   Thu Jun 14 21:19:24 2018 +0200

    Fixed a number of checks

commit ecfb94a
Author: PatrikLundell <[email protected]>
Date:   Thu Jun 14 19:31:21 2018 +0200

    flag check -> function

commit 401beac
Author: PatrikLundell <[email protected]>
Date:   Thu Jun 14 19:30:43 2018 +0200

    flag check -> function

commit 54de259
Author: PatrikLundell <[email protected]>
Date:   Thu Jun 14 19:30:11 2018 +0200

    resolved conflict

commit bef0e25
Author: PatrikLundell <[email protected]>
Date:   Thu Jun 14 19:29:12 2018 +0200

    flag check -> function

commit b065ce4
Author: lethosor <[email protected]>
Date:   Tue Jun 12 12:46:31 2018 -0400

    autounsuspend: skip planned buildings

    Fixes DFHack/dfhack#1305

commit 982f04d
Author: Ben Lubar <[email protected]>
Date:   Mon Jun 11 18:32:56 2018 -0500

    Fix more luacheck stuff. Fix fixnaked being broken with the thought/emotion changes.

commit 0d12bd6
Author: Ben Lubar <[email protected]>
Date:   Sun Jun 10 10:04:50 2018 -0500

    Fix most of the remaining luacheck issues in scripts.

    Scripts still to do:

    - gui/*.lua

    - exportlegends.lua

    - fixnaked.lua

commit d0f8384
Author: brndd <[email protected]>
Date:   Sun Jun 10 02:50:27 2018 +0300

    luacheck fix

commit 1d1c4fb
Author: Ben Lubar <[email protected]>
Date:   Sat Jun 9 06:43:58 2018 -0500

    More fixes for df-luacheck. Mostly annotations, but there are a few typos fixed as well.

commit 36b9fe2
Author: brndd <[email protected]>
Date:   Thu Jun 7 23:37:51 2018 +0300

    luacheck fix

commit 870e6f4
Author: brndd <[email protected]>
Date:   Thu Jun 7 22:40:16 2018 +0300

    minor typo fix

commit d04327a
Author: brndd <[email protected]>
Date:   Thu Jun 7 22:33:32 2018 +0300

    further revisions to item descriptions

commit 1e73e57
Author: brndd <[email protected]>
Date:   Thu Jun 7 21:21:30 2018 +0300

    removed superfluous variable

commit 0d37a50
Author: brndd <[email protected]>
Date:   Thu Jun 7 21:17:27 2018 +0300

    item-descriptions editor's pass

    Editor's pass on item-descriptions, fixing some grammar errors and improving some of the descriptions.

commit 469817b
Author: brndd <[email protected]>
Date:   Thu Jun 7 21:11:31 2018 +0300

    add-recipe

    Adding a new script, add-recipe. This script adds crafting recipes to the player's civilization. It is useful when eg. the civ doesn't know how to craft high boots.

commit 69500d4
Author: Ben Lubar <[email protected]>
Date:   Thu Jun 7 08:10:00 2018 -0500

    More luacheck-related fixes.

commit f8910a8
Author: PatrikLundell <[email protected]>
Date:   Wed Jun 6 15:01:03 2018 +0200

    flags1.dead->flags2.killed

commit 63d50de
Author: PatrikLundell <[email protected]>
Date:   Wed Jun 6 15:00:22 2018 +0200

    flags1.dead->flags2.killed

commit 091c062
Author: PatrikLundell <[email protected]>
Date:   Wed Jun 6 14:59:46 2018 +0200

    flags1.dead->flags2.killed

commit 4f5ad27
Author: PatrikLundell <[email protected]>
Date:   Wed Jun 6 14:59:10 2018 +0200

    flags1.dead->flags2.killed

commit b10a928
Author: PatrikLundell <[email protected]>
Date:   Wed Jun 6 14:58:35 2018 +0200

    Updated comment messages

commit 5d0b5b1
Author: PatrikLundell <[email protected]>
Date:   Wed Jun 6 14:57:34 2018 +0200

    flags1.dead->flags2.killed

commit 7b90330
Author: PatrikLundell <[email protected]>
Date:   Tue Jun 5 16:09:05 2018 +0200

    Identified slaughter. Stopped item override

commit 82e6ffa
Author: PatrikLundell <[email protected]>
Date:   Tue Jun 5 11:20:10 2018 +0200

    Factored out two common lines

commit 09f9656
Author: PatrikLundell <[email protected]>
Date:   Tue Jun 5 11:15:29 2018 +0200

    Added race to live unit

commit 9de95f8
Author: PatrikLundell <[email protected]>
Date:   Tue Jun 5 11:02:01 2018 +0200

    Detecting live units not being dead

commit 75a94ee
Author: PatrikLundell <[email protected]>
Date:   Tue Jun 5 10:44:14 2018 +0200

    dead/inactive flag -> killed

commit 6b78bb5
Author: Ben Lubar <[email protected]>
Date:   Mon Jun 4 22:09:28 2018 -0500

    Fix behavioral changes introduced in previous commit.

commit 5a892c3
Author: Ben Lubar <[email protected]>
Date:   Mon Jun 4 21:23:28 2018 -0500

    Fix bugs found while working on luacheck

commit 7f18d2c
Author: Ben Lubar <[email protected]>
Date:   Sun May 27 10:40:13 2018 -0500

    [ban-cooking] Update for DFHack/df-structures@238b305.

    Remove undocumented debugging commands.

    Fixes DFHack/dfhack#1293.

commit 89ddb81
Author: AtomicChicken <[email protected]>
Date:   Thu May 24 10:13:26 2018 +0200

    modified getRandomCasteId()

    to avoid having to locate creature_raw again

commit 9fbd247
Author: AtomicChicken <[email protected]>
Date:   Thu May 24 00:17:40 2018 +0200

    create-unit: added 'quantity' and random caste selection

    - added 'quantity' argument for spawning several units simultaneously
    - implemented random caste selection for use upon omission of 'caste' argument
    - changed several instances of 'error' to 'qerror'

commit 5bd8f0d
Author: lethosor <[email protected]>
Date:   Tue May 22 10:55:10 2018 -0400

    Fix "validArgs = validArgs or ..." antipattern

    This prevented any edits to scripts from changing the allowed arguments without
    removing validArgs from the script's environment somehow or restarting DF. This
    was pointless - script behavior can easily be modified to use new arguments,
    potentially leading to confusion when those arguments were rejected.

commit 7b30d55
Author: lethosor <[email protected]>
Date:   Tue May 22 09:58:24 2018 -0400

    remove-stress: fix -all for soul-less units, indentation, module support

commit 27ea437
Author: lethosor <[email protected]>
Date:   Mon May 21 17:45:47 2018 -0400

    fix/retrieve-units: also add units back to active list to counteract fix/dead-units

commit 123be9a
Author: grubsteak <[email protected]>
Date:   Sun May 20 12:21:58 2018 -0500

    removed obnoxious comment

    sorry

commit 5ef5c7f
Author: grubsteak <[email protected]>
Date:   Sat May 19 21:16:29 2018 -0500

    fixed minor indenting error

commit bef9b5c
Author: grubsteak <[email protected]>
Date:   Sat May 19 15:00:39 2018 -0500

    fix title

    travis is a bastard

commit 2ef4b23
Author: grubsteak <[email protected]>
Date:   Sat May 19 14:59:25 2018 -0500

    move copy.lua to gui/stamper.lua

commit a64b5a9
Author: grubsteak <[email protected]>
Date:   Sat May 19 14:58:28 2018 -0500

    renaming to stamper.lua

commit b67ea7d
Author: grubsteak <[email protected]>
Date:   Sat May 19 11:37:00 2018 -0500

    fixed bug

commit 4de3d7e
Author: AtomicChicken <[email protected]>
Date:   Sat May 19 09:47:15 2018 +0200

    bodyswap: minor adjustments

    slightly modified documentation, added error message and relocated a few lines

commit 157d224
Author: grubsteak <[email protected]>
Date:   Sat May 19 00:40:22 2018 -0500

    make travis happy

commit 07566b1
Author: grubsteak <[email protected]>
Date:   Sat May 19 00:31:56 2018 -0500

    fixed title code

    now to for that lint....

commit 34f68d0
Author: grubsteak <[email protected]>
Date:   Sat May 19 00:22:20 2018 -0500

    Update copy.lua

commit ddea05b
Author: grubsteak <[email protected]>
Date:   Sat May 19 00:14:34 2018 -0500

    Create copy.lua

commit 0b6e4a5
Author: lethosor <[email protected]>
Date:   Fri May 18 12:43:37 2018 -0400

    bodyswap: Use unix line endings

    Ref DFHack#55

commit bce5c0b
Merge: d747dda 9a92e1d
Author: lethosor <[email protected]>
Date:   Fri May 18 12:41:10 2018 -0400

    Merge remote-tracking branches 'AtomicChicken/bodyswap' and 'AtomicChicken/create-unit'

commit d747dda
Author: AtomicChicken <[email protected]>
Date:   Thu May 17 20:58:04 2018 +0200

    removed whitespace

commit 10182a3
Author: AtomicChicken <[email protected]>
Date:   Thu May 17 20:52:21 2018 +0200

    replaced nemesis/histfig creation functions with 'modtools/create-unit' call

    also removed the double documentation and added module accessibility stuff

commit 9a92e1d
Author: AtomicChicken <[email protected]>
Date:   Thu May 17 10:12:33 2018 +0200

    minor alterations to allow use of createNemesis() by external scripts

commit 984bb31
Merge: 9f2231b fc7a37d
Author: AtomicChicken <[email protected]>
Date:   Thu May 17 09:53:46 2018 +0200

    Merge pull request DFHack#1 from DFHack/master

    update fork

commit fc7a37d
Author: lethosor <[email protected]>
Date:   Wed May 16 22:08:23 2018 -0400

    view-item-info: stop appending newlines to descriptions more than once

    Fixes DFHack/dfhack#1273

commit 5e8f859
Author: lethosor <[email protected]>
Date:   Wed May 16 19:37:32 2018 -0400

    Remove explicit keybindings from docs, plus misc docs cleanup

    Closes DFHack/dfhack#988

commit c7054eb
Author: AtomicChicken <[email protected]>
Date:   Wed May 16 19:32:46 2018 +0200

    Added bodyswap.lua

    A revived version of the long defunct "adv-bodyswap" with added functionality.
    This script allows the player to swap their control over to any unit present on the map in adventure mode only. Targets are specified either via their unit id or through UI selection prior to running the script. Unlike previous iterations, units lacking nemesis or historical figure data (such as wild animals) are valid and safe targets, as the script creates this data when it is missing.

commit ed1b046
Author: lethosor <[email protected]>
Date:   Sat May 12 16:58:32 2018 -0400

    room-list: support getSelectedBuilding()

commit 8dfd2ec
Author: lethosor <[email protected]>
Date:   Sat May 12 16:58:23 2018 -0400

    room-list: use getRoomDescription()

commit f76e417
Merge: 9504fc0 9a44403
Author: lethosor <[email protected]>
Date:   Fri May 11 18:54:45 2018 -0400

    Merge remote-tracking branch 'AtomicChicken/create-unit'

commit 9504fc0
Author: lethosor <[email protected]>
Date:   Fri May 11 18:44:59 2018 -0400

    save-version: add current DF version, change 0 to "not saved"

commit 07e75ff
Merge: 2443cef 0d9d081
Author: lethosor <[email protected]>
Date:   Fri May 11 15:25:50 2018 -0400

    Merge remote-tracking branch 'Bumber64/patch-1'

commit 0d9d081
Author: Ryan Williams <[email protected]>
Date:   Fri May 11 12:13:46 2018 -0700

    Update exterminate.rb documentation

commit 2443cef
Merge: 5de338b 60171e5
Author: Lethosor <[email protected]>
Date:   Fri May 11 12:06:35 2018 -0400

    Merge pull request DFHack#53 from cvuchener/dt-tool-offsets

    export-dt-ini: add tool offsets

commit 5de338b
Merge: eddfb8e ef0860a
Author: Lethosor <[email protected]>
Date:   Fri May 11 12:05:16 2018 -0400

    Merge pull request DFHack#51 from AtomicChicken/full-heal

    full-heal: several fixes

commit eddfb8e
Author: lethosor <[email protected]>
Date:   Fri May 11 10:34:22 2018 -0400

    Add tweak information to install-info

commit 3136553
Author: lethosor <[email protected]>
Date:   Wed May 9 09:52:49 2018 -0400

    Add devel/find-primitive

commit 60171e5
Author: Clément Vuchener <[email protected]>
Date:   Wed May 9 10:47:04 2018 +0200

    export-dt-ini: add tool offsets

commit 9a44403
Author: Lethosor <[email protected]>
Date:   Mon May 7 13:32:56 2018 -0400

    Fix whitespace

commit 3113f73
Merge: f81ba57 a1cd002
Author: Lethosor <[email protected]>
Date:   Mon May 7 13:28:38 2018 -0400

    Merge branch 'master' into create-unit

commit ef0860a
Author: AtomicChicken <[email protected]>
Date:   Mon May 7 16:41:35 2018 +0200

    reset some more stuff in unit.enemy

commit f81ba57
Author: AtomicChicken <[email protected]>
Date:   Mon May 7 15:56:14 2018 +0200

    bug fixes and update

    - creatures of the appropriate age are now spawned as babies or children where applicable
    - fix: civ_id is now properly assigned to historical_figure, resolving several hostility issues (spawned pets are no longer attacked by fortress military!)
    - fix: unnamed creatures are no longer spawned with a string of numbers as a first name

commit a1cd002
Author: lethosor <[email protected]>
Date:   Mon May 7 00:13:08 2018 -0400

    devel/save-version: add 0.44.10

commit 9b4f443
Author: AtomicChicken <[email protected]>
Date:   Sun May 6 16:15:01 2018 +0200

    fixed typo

commit fc5dc12
Author: AtomicChicken <[email protected]>
Date:   Sun May 6 16:12:40 2018 +0200

    cleared health flags

    to deal with issues that were cropping up with the healthcare system, such as healed units being operated upon

commit 9c11f53
Author: AtomicChicken <[email protected]>
Date:   Sun May 6 15:54:20 2018 +0200

    cancel active healthcare jobs

    so as to prevent the buggy behaviour that is produced by healing a unit whilst it is the target of medical jobs

commit b13cd4d
Author: AtomicChicken <[email protected]>
Date:   Sun May 6 13:33:27 2018 +0200

    re-added wake from rest

    On second thought, this can be useful as it prevents units from unnecessarily walking to a hospital (rest job position) after being healed.

commit 61a8f17
Author: AtomicChicken <[email protected]>
Date:   Sat May 5 22:36:37 2018 +0200

    removed wake from rest

    unnecessary as resting units awake in a matter of ticks upon being healed

commit f4aff0a
Author: AtomicChicken <[email protected]>
Date:   Sat May 5 22:15:16 2018 +0200

    fix melting body parts, clear infection, remove historical wounds

commit 1a78d1e
Author: lethosor <[email protected]>
Date:   Sat May 5 15:53:11 2018 -0400

    gui/autogems: Add initial comment

commit 6295e5a
Merge: 164d9bd 65b102e
Author: lethosor <[email protected]>
Date:   Sat May 5 12:53:14 2018 -0400

    Merge branch 'gui-autogems'

commit 65b102e
Author: lethosor <[email protected]>
Date:   Sat May 5 12:45:22 2018 -0400

    gui/autogems: save/load from autogems.json

commit a9fb7aa
Author: AtomicChicken <[email protected]>
Date:   Sat May 5 16:02:42 2018 +0200

    removed the CleanSelf job assignment

    because it causes errors and is entirely unnecessary; the system will generate its own CleanSelf jobs if this is required

commit 7b208ce
Author: AtomicChicken <[email protected]>
Date:   Sat May 5 15:34:16 2018 +0200

    added missing flags

commit b53b361
Author: AtomicChicken <[email protected]>
Date:   Sat May 5 13:19:45 2018 +0200

    added missing counters

commit 4687275
Author: AtomicChicken <[email protected]>
Date:   Sat May 5 12:44:17 2018 +0200

    reset limbs_fly_count

commit 7d4bf81
Author: lethosor <[email protected]>
Date:   Fri May 4 23:32:30 2018 -0400

    gui/autogems: Add documentation

commit 4e113b9
Author: lethosor <[email protected]>
Date:   Sat Jul 1 16:52:16 2017 -0400

    Restrict width of gem list

commit a6d12c6
Author: lethosor <[email protected]>
Date:   Tue Jun 27 10:16:05 2017 -0400

    Add "on map" filter

commit d36edea
Author: lethosor <[email protected]>
Date:   Tue Jun 27 09:55:37 2017 -0400

    Add screen title

commit 93eec26
Author: lethosor <[email protected]>
Date:   Mon Jun 26 21:44:50 2017 -0400

    Add initial gui/autogems front-end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants