Commit Graph

1715 Commits (f88ccac0d4ae3e2b05d281982a2e842122ef67ba)

Author SHA1 Message Date
Sven Eberhardt a43103a93f Fix airplane description.
It wasn't to its property.
2015-11-08 17:14:29 -05:00
Maikel de Vries 9a9486d0fe Do not XOR booleans (Time.ocd) 2015-11-08 22:34:09 +01:00
David Dormagen cb2b189ff9 removed Library_GoldSeller
Valuables are now solely sold by putting them into the flag. This is consistent with everything else now.
2015-11-07 22:56:57 +01:00
David Dormagen 5361e0fe87 loam: indicate remaining loam in inventory menus 2015-11-07 22:40:41 +01:00
David Dormagen ad69cd9293 enabled objects to provide a custom overlay for the inventory bar and the interaction menu
This can e.g. be used for the water barrel to show the fill-level. Or by an adventure scenario to highlight quest items.
Or by third-party packs to do other cool stuff.
2015-11-07 21:20:08 +01:00
David Dormagen 712912f670 sword: fixed freezing Clonk in place when deleted during usage
When the sword was deleted while striking (or on hit), the effect that would reset the Clonk's speed was also deleted. The Clonk responded with a general inability to walk.
2015-11-07 21:20:08 +01:00
Armin 1b35755ce4 Fix blinking sky when using the time object. 2015-11-07 11:24:22 +01:00
David Dormagen 0f42015a24 pickaxe: prevent dug-out objects from hitting the Clonk for 30 frames
This should make pickaxing less frustrating as you are not interrupted EVERY TIME you dig out something.
2015-11-07 11:19:57 +01:00
David Dormagen ac8d5934b2 buffed javelin damage a bit more
Due to request from ala. 15 means that "usually" 4 javelins kill. 18 means that now 3 should be enough in most situations.
2015-11-07 10:59:39 +01:00
David Dormagen c1f183aa33 chippies: resist acid
As requested by ala because it might be beneficial to new scenario like Regeneration from CR.
2015-11-05 18:13:58 +01:00
David Dormagen 89d8c41d22 sproutberry: increased mesh size to better match size when attached 2015-11-04 20:21:59 +01:00
WinExploder 7573df69c8 Added new sprout berry graphics, normals and material
squashed:
Fixed Sprout Berry Sprite
Added new sprout berry graphics, normals and material
2015-11-04 20:15:39 +01:00
David Dormagen 507d5a2fb7 sword: increased hitting range to better match visuals
In at least one Let's Play, the player found it weird that the sword has such a short range even though it was (visually) clearly hitting the enemy. I agree.
Also, this is a (major?) sword buff of course.
2015-11-03 21:19:08 +01:00
David Dormagen e4009a683c catapult: cannot shoot yourself into solid material anymore (#1139) 2015-11-03 20:54:11 +01:00
David Dormagen adb828c9fb fixed possible nil-access
This happened to me ingame. I don't know why and I don't know how to reproduce.
So this is a quick in-place fix instead of a solution to the underlying issue of "entries" not being there.
2015-11-01 18:29:26 +01:00
David Dormagen 57b8b0a70b buffed javelin damage
The javelin was one of the hardest weapons to use and didn't even deal a lot of damage (only slightly higher than the arrow, if not less?).
It does a lot more damage now and three javelins should kill a Clonk. Test!
2015-11-01 16:42:06 +01:00
Armin 7993e16bea Change nutritional value of sprout berry and mushroom
squashed:
mushroom: simplified calculation of nutritional value
Fix mushroom nutritional value.
Change nutritional value of sprout berry and mushroom
2015-10-30 19:19:29 +01:00
David Dormagen f3f1eb10eb wheat: made only harvestable with sickle & cast particles when harvested
According to Clonkonaut (and the Library_Crop script) it has always been intended to only be able to harvest wheat with a sickle.
2015-10-30 08:28:51 +01:00
David Dormagen 4b3db94e0b sickle: search with AtRect instead of InRect to not miss wide plants
Even when standing directly over a plant, you would sometimes not harvest it because its midpoint would be out of the Clonk's rectangle. Now the Clonk only has to touch plants.
2015-10-30 08:27:44 +01:00
Armin cb4dbc3609 Foodstuff heals the Clonk over time. 2015-10-29 11:33:31 +01:00
Armin 41e2bd8d6f Fix time controller ignoring custom SkyAdjust (#1311). 2015-10-27 22:52:49 +01:00
David Dormagen 58b633bea4 fixed some HUD items disappearing on GUI_Controller->Reset() (#1415)
This is a definition call. There is no valid "this". The call should go to the fresh object.
2015-10-27 18:44:37 +01:00
David Dormagen b48bb31623 inventory menu: fixed shift+click
RemoveHoles returns the amount of items removed and works in-place. Meh.
It's not required here anyway..
2015-10-26 18:44:33 +01:00
David Dormagen 0f1b48d2c6 structures: update interaction menus when taking damage 2015-10-25 15:57:20 +01:00
Clonkonaut 0e191f2ed6 Fixed mesh rotation. 2015-10-25 14:21:30 +01:00
Clonkonaut 8b65e9f1e2 Fixed mesh material. 2015-10-25 14:21:19 +01:00
Clonkonaut a01d7572c1 Merged the three new trees and the correct normals for Coniferous2 and 3 from the milestone repository.
Tree_Deciduous into Objects
Deco_Tree_Deciduous2 into Decoration
Deco_Tree_Deciduous2 into Decoration
2015-10-25 13:43:54 +01:00
Clonkonaut b17535de4b Break rope when being shot (#1339). 2015-10-24 13:12:41 +02:00
David Dormagen 7baf2bcc1c added wealth display to the buy menu (#1425) 2015-10-24 10:44:01 +02:00
David Dormagen ffe25efdfe construction site: add missing materials to interaction menu (related to #1365 and #1364) 2015-10-23 18:49:12 +02:00
David Dormagen 5266962285 interaction menu: fix script error for sub-menus without extra_data 2015-10-23 18:49:12 +02:00
Sven Eberhardt 789f910213 Clonk 'use' control: Fix nil pointer access when target object of shelved action removes itself. 2015-10-22 23:58:15 -04:00
David Dormagen 08c51288ad added smaller variation of the piranha (new Piranha texture by Matthi) 2015-10-22 10:57:14 +02:00
Sven Eberhardt c7a0f2b580 Fix post-open grid and list menu updates when opened as standalone menus. 2015-10-21 23:56:31 -04:00
Julius Michaelis f356c9053a Invert the functionality of CNAT_CollideHalfVehicle 2015-10-21 22:15:33 +02:00
David Dormagen 0a9b3ebd70 do not force ComDir when rolling (#1395)
Rolling works via SetXDir anyway, so the ComDir change is not necessary. It would just lead to issues because the ComDir would never be reset and the Clonk would keep on walking until the next key press.
2015-10-21 09:39:10 +02:00
David Dormagen f68861b80e goal menu: update only certain properties of menu to not reset tags
The background would always be reset when the menu was updated.
2015-10-20 17:14:50 +02:00
David Dormagen 2f7a0b960c goal menu: do not have pointers to objects in the menu layout anymore (#1420)
This actually led to an infinite recursion in Mine Rescue when clicking on the goal. The goal menu would link to the goal itself which would link to the elevator -> case -> elevator -> case...
Now only layout stuff is in the layout proplists.

I noticed that with multiple goals one always gets a background. But I guess that had already been the case beforehand? Anyway, that's another issue.
2015-10-19 19:07:39 +02:00
David Dormagen 79b9a793f5 fixed not being able to transfer a carry-heavy object into "surrounding"
More a work-around than a fix. I didn't really dive into WHY the problem happened, but you'd always throw away a different item and not the CH one. Probably because either DropInventoryItem or GetItemPos does something weird, but meh..
2015-10-18 08:07:43 +02:00
David Dormagen 1bd3354086 contents menu: changed stacking logic (#1424)
Objects now stack iff CanBeStackedWith returns true. The displayed symbol is now the first object of the stack (instead of the definition).
Also fixed barrel to not overwrite the custom name just after setting it.
2015-10-17 12:09:35 +02:00
David Dormagen a5d7f08e16 close interaction menu when clicking outside
According to Pyrit, this is standard behavior of menus in other games. And as I have no strong feelings regarding that issue, here you go.
2015-10-16 17:07:33 +02:00
Maikel de Vries c2271f743a AI do not use shield on explosives 2015-10-14 20:58:52 +02:00
Maikel de Vries 70875e3465 let the AI attack hostile clonks only 2015-10-14 20:44:38 +02:00
Maikel de Vries e2c5158275 rename S2AI to AI
This in preparation for a more general AI (in the far future).
2015-10-14 20:44:38 +02:00
David Dormagen ba681c8ee4 fixed auto-pickup after using an item that destroys itself or exits the clonk
Steps to reproduce: put shovel on ground. take dynamite. stand on shovel. aim below you. leftclick. leftlick. => dynamite is planted AND shovel is collected.
2015-10-14 20:17:25 +02:00
David Dormagen e93630e083 interaction menu: added "close" button and unified layout of "minimize" and "close" buttons 2015-10-14 11:22:58 +02:00
Clonkonaut f5076cedf3 Do not change picture transformation, not necessary anymore because contents are shown in extra slot (#1147). 2015-10-13 17:32:36 +02:00
Clonkonaut b083c6454e Adjusted footstep sound to running speed (#1124). 2015-10-13 15:11:11 +02:00
Clonkonaut 03ce403002 Added gravestones to Dark Castle (#1235), minor fixes (enemy clonks' skin adjusted to gender of name). 2015-10-13 14:38:41 +02:00
David Dormagen 88d7e1209e producer: added hint to infinite production below menu 2015-10-13 07:35:04 +02:00