| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/commits(/*name) |
| route-controller | commits |
| route-action | show |
| fetch-nonce | v2:226f2c57-200a-937d-f2a4-59548941dd9b |
| current-catalog-service-hash | f3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb |
| request-id | 9FF4:356FBF:103C609:15AD41F:6AFFBEFF |
| html-safe-nonce | be878a2a557a72aeaee6d4d0c099c9b23250ae71ec31bff1260a4ed76f7298e3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RkY0OjM1NkZCRjoxMDNDNjA5OjE1QUQ0MUY6NkFGRkJFRkYiLCJ2aXNpdG9yX2lkIjoiNDU3NTY1MTY5NTU4MDY1OTQ1NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 7879be042b65f6c97b9e5474ff1cfc52a8ef89f1a6a086658e7ff775d7199ed8 |
| hovercard-subject-tag | repository:9653294 |
| github-keyboard-shortcuts | repository,commit-list,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///commits/show |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/eswald/dfhack/commits/develop/plugins/createitem.cpp |
| twitter:image | https://opengraph.githubassets.com/7fccbaf13dffd95d24350c295ef6e6cc3c754d61c06f0bd09a0e40e867496daf/eswald/dfhack |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7fccbaf13dffd95d24350c295ef6e6cc3c754d61c06f0bd09a0e40e867496daf/eswald/dfhack |
| og:image:alt | Memory hacking library for Dwarf Fortress and a set of tools that use it - History for plugins/createitem.cpp - eswald/dfhack |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 1e805b832df235bb21305db712c3b6432920019dfc12cb25b9cb8d3b0c9403cf |
| turbo-cache-control | no-cache |
| go-import | github.com/eswald/dfhack git https://github.com/eswald/dfhack.git |
| octolytics-dimension-user_id | 67649 |
| octolytics-dimension-user_login | eswald |
| octolytics-dimension-repository_id | 9653294 |
| octolytics-dimension-repository_nwo | eswald/dfhack |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 517990 |
| octolytics-dimension-repository_parent_nwo | DFHack/dfhack |
| octolytics-dimension-repository_network_root_id | 517990 |
| octolytics-dimension-repository_network_root_nwo | DFHack/dfhack |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8fa4a54e6871c7908eda1c246ad5972982c0b59d |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | commits |
| Skip to content | https://github.com/eswald/dfhack/commits/develop/plugins/createitem.cpp#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Feswald%2Fdfhack%2Fcommits%2Fdevelop%2Fplugins%2Fcreateitem.cpp |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Feswald%2Fdfhack%2Fcommits%2Fdevelop%2Fplugins%2Fcreateitem.cpp |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fcommits%2Fshow&source=header-repo&source_repo=eswald%2Fdfhack |
| Reload | https://github.com/eswald/dfhack/commits/develop/plugins/createitem.cpp |
| Reload | https://github.com/eswald/dfhack/commits/develop/plugins/createitem.cpp |
| Reload | https://github.com/eswald/dfhack/commits/develop/plugins/createitem.cpp |
| eswald | https://github.com/eswald |
| dfhack | https://github.com/eswald/dfhack |
| Code | https://github.com/eswald/dfhack |
| Pull requests | https://github.com/eswald/dfhack/pulls |
| Actions | https://github.com/eswald/dfhack/actions |
| Projects | https://github.com/eswald/dfhack/projects |
| Wiki | https://github.com/eswald/dfhack/wiki |
| Security and quality | https://github.com/eswald/dfhack/security |
| Insights | https://github.com/eswald/dfhack/pulse |
| https://github.com/eswald/dfhack |
| dfhack | https://github.com/eswald/dfhack/commits |
| plugins | https://github.com/eswald/dfhack/commits/develop/plugins |
| createitem.cpp | https://github.com/eswald/dfhack/commits/develop/plugins/createitem.cpp |
| develop | https://github.com/eswald/dfhack/tree/develop |
| Fix problems with NONE for item types and subtypes | https://github.com/eswald/dfhack/commit/e483e7439f4852e65bc5d104fdbb27b77533b514 |
| https://github.com/quietust |
| quietust | https://github.com/eswald/dfhack/commits?author=quietust |
| e483e74 | https://github.com/eswald/dfhack/commit/e483e7439f4852e65bc5d104fdbb27b77533b514 |
| https://github.com/eswald/dfhack/blob/e483e7439f4852e65bc5d104fdbb27b77533b514/plugins/createitem.cpp |
| https://github.com/eswald/dfhack/tree/e483e7439f4852e65bc5d104fdbb27b77533b514 |
| Make createitem default to the controlled unit in adventure mode. | https://github.com/eswald/dfhack/commit/827dd121d856e3e720c8dbcfe8a09262c79301ed |
| https://github.com/angavrilov |
| angavrilov | https://github.com/eswald/dfhack/commits?author=angavrilov |
| 827dd12 | https://github.com/eswald/dfhack/commit/827dd121d856e3e720c8dbcfe8a09262c79301ed |
| https://github.com/eswald/dfhack/blob/827dd121d856e3e720c8dbcfe8a09262c79301ed/plugins/createitem.cpp |
| https://github.com/eswald/dfhack/tree/827dd121d856e3e720c8dbcfe8a09262c79301ed |
| Need to include tool_uses.h | https://github.com/eswald/dfhack/commit/91a7280ac34c651c4b231cf82751594a8036477d |
| https://github.com/quietust |
| quietust | https://github.com/eswald/dfhack/commits?author=quietust |
| 91a7280 | https://github.com/eswald/dfhack/commit/91a7280ac34c651c4b231cf82751594a8036477d |
| https://github.com/eswald/dfhack/blob/91a7280ac34c651c4b231cf82751594a8036477d/plugins/createitem.cpp |
| https://github.com/eswald/dfhack/tree/91a7280ac34c651c4b231cf82751594a8036477d |
| A bit of cleanup | https://github.com/eswald/dfhack/commit/69fc2bec6df2b1246bd81cabe776264411d2e607 |
| https://github.com/quietust |
| quietust | https://github.com/eswald/dfhack/commits?author=quietust |
| 69fc2be | https://github.com/eswald/dfhack/commit/69fc2bec6df2b1246bd81cabe776264411d2e607 |
| https://github.com/eswald/dfhack/blob/69fc2bec6df2b1246bd81cabe776264411d2e607/plugins/createitem.cpp |
| https://github.com/eswald/dfhack/tree/69fc2bec6df2b1246bd81cabe776264411d2e607 |
| Enhance createitem, can now place items into containers or buildings | https://github.com/eswald/dfhack/commit/540bcc1f468773e4ef1964384d4a775088d15b44 |
| https://github.com/quietust |
| quietust | https://github.com/eswald/dfhack/commits?author=quietust |
| 540bcc1 | https://github.com/eswald/dfhack/commit/540bcc1f468773e4ef1964384d4a775088d15b44 |
| https://github.com/eswald/dfhack/blob/540bcc1f468773e4ef1964384d4a775088d15b44/plugins/createitem.cpp |
| https://github.com/eswald/dfhack/tree/540bcc1f468773e4ef1964384d4a775088d15b44 |
| Update plugins to use CR_WRONG_USAGE where appropriate | https://github.com/eswald/dfhack/commit/463bb8d498259ad0c0ec5d81378892f2c9b96779 |
| https://github.com/quietust |
| quietust | https://github.com/eswald/dfhack/commits?author=quietust |
| 463bb8d | https://github.com/eswald/dfhack/commit/463bb8d498259ad0c0ec5d81378892f2c9b96779 |
| https://github.com/eswald/dfhack/blob/463bb8d498259ad0c0ec5d81378892f2c9b96779/plugins/createitem.cpp |
| https://github.com/eswald/dfhack/tree/463bb8d498259ad0c0ec5d81378892f2c9b96779 |
| Make createitem create shoes in pairs (as well as gloves) | https://github.com/eswald/dfhack/commit/399fd107e40a5ae12bdc7e03eaee53d30e7a651b |
| https://github.com/quietust |
| quietust | https://github.com/eswald/dfhack/commits?author=quietust |
| 399fd10 | https://github.com/eswald/dfhack/commit/399fd107e40a5ae12bdc7e03eaee53d30e7a651b |
| https://github.com/eswald/dfhack/blob/399fd107e40a5ae12bdc7e03eaee53d30e7a651b/plugins/createitem.cpp |
| https://github.com/eswald/dfhack/tree/399fd107e40a5ae12bdc7e03eaee53d30e7a651b |
| Fix createitem to not leak memory | https://github.com/eswald/dfhack/commit/2b675c80ce1eed9b28ed4a81abdb5da5d6c62f4f |
| https://github.com/quietust |
| quietust | https://github.com/eswald/dfhack/commits?author=quietust |
| 2b675c8 | https://github.com/eswald/dfhack/commit/2b675c80ce1eed9b28ed4a81abdb5da5d6c62f4f |
| https://github.com/eswald/dfhack/blob/2b675c80ce1eed9b28ed4a81abdb5da5d6c62f4f/plugins/createitem.cpp |
| https://github.com/eswald/dfhack/tree/2b675c80ce1eed9b28ed4a81abdb5da5d6c62f4f |
| Get entity from unit->civ_id instead of from ui (so it works in advmode), and only get site in fortress mode | https://github.com/eswald/dfhack/commit/b07f2fc33fa21222841757df53a93ffc7a5cc29b |
| https://github.com/quietust |
| quietust | https://github.com/eswald/dfhack/commits?author=quietust |
| b07f2fc | https://github.com/eswald/dfhack/commit/b07f2fc33fa21222841757df53a93ffc7a5cc29b |
| https://github.com/eswald/dfhack/blob/b07f2fc33fa21222841757df53a93ffc7a5cc29b/plugins/createitem.cpp |
| https://github.com/eswald/dfhack/tree/b07f2fc33fa21222841757df53a93ffc7a5cc29b |
| Update createitem to allow specifying quantity, also allow it to auto-detect whether it needs to create extra gloves and assign handedness | https://github.com/eswald/dfhack/commit/9bd999ebc1481b7d6e24ff49b1edea85272a6408 |
| https://github.com/quietust |
| quietust | https://github.com/eswald/dfhack/commits?author=quietust |
| 9bd999e | https://github.com/eswald/dfhack/commit/9bd999ebc1481b7d6e24ff49b1edea85272a6408 |
| https://github.com/eswald/dfhack/blob/9bd999ebc1481b7d6e24ff49b1edea85272a6408/plugins/createitem.cpp |
| https://github.com/eswald/dfhack/tree/9bd999ebc1481b7d6e24ff49b1edea85272a6408 |
| Add createItem plugin, spawns an item at the selected unit's feet | https://github.com/eswald/dfhack/commit/f55030909f83c54b5b74d085d0dd1253b60e210e |
| https://github.com/quietust |
| quietust | https://github.com/eswald/dfhack/commits?author=quietust |
| f550309 | https://github.com/eswald/dfhack/commit/f55030909f83c54b5b74d085d0dd1253b60e210e |
| https://github.com/eswald/dfhack/blob/f55030909f83c54b5b74d085d0dd1253b60e210e/plugins/createitem.cpp |
| https://github.com/eswald/dfhack/tree/f55030909f83c54b5b74d085d0dd1253b60e210e |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |